Prevent contact list management errors
authorSteve Youngs <steve@emchat.org>
Sun, 11 Dec 2011 00:15:34 +0000 (10:15 +1000)
committerSteve Youngs <steve@emchat.org>
Sun, 11 Dec 2011 00:15:34 +0000 (10:15 +1000)
EMchat can't really do much in the way of contact list management yet, so
to prevent errors caused by other clients auto-adding new contacts while
you still logged in with EMchat we'll just ignore those functions for now.

* emchat-v8.el (emchat-v8-snac-cli-ssi-add): Ignore it

Signed-off-by: Steve Youngs <steve@emchat.org>
emchat-v8.el

index 4062ff0..3eabef0 100644 (file)
@@ -1574,16 +1574,17 @@ Hope you get to read this before you get disconnected" discon))
   (emchat-v8-send ectx
     (emchat-v8-pack-snac ectx '(#x13 . #x07))))
 
-;;; FIXME:  This isn't working.
-(defun emchat-v8-snac-cli-ssi-add (ectx uin grp id nick)
-  "Add contacts to SSI.  SNAC(#x13, #x08)."
-  (emchat-v8-send ectx
-    (emchat-v8-pack-snac ectx '(#x13 . #x08)
-      (emchat-v8-pack-bstr uin)
-      (emchat-v8-pack-word grp)
-      (emchat-v8-pack-word id)
-      (emchat-v8-pack-word #x0000)
-      (emchat-v8-pack-tlv #x0131 nick))))
+;;; FIXME:  Write me
+(defalias 'emchat-v8-snac-cli-ssi-add #'ignore)
+;; (defun emchat-v8-snac-cli-ssi-add (ectx uin grp id nick)
+;;   "Add contacts to SSI.  SNAC(#x13, #x08)."
+;;   (emchat-v8-send ectx
+;;     (emchat-v8-pack-snac ectx '(#x13 . #x08)
+;;       (emchat-v8-pack-bstr uin)
+;;       (emchat-v8-pack-word grp)
+;;       (emchat-v8-pack-word id)
+;;       (emchat-v8-pack-word #x0000)
+;;       (emchat-v8-pack-tlv #x0131 nick))))
 
 ;;; FIXME: Write me
 (defalias 'emchat-v8-snac-cli-ssi-update #'ignore)