From: Steve Youngs Date: Sun, 11 Dec 2011 00:15:34 +0000 (+1000) Subject: Prevent contact list management errors X-Git-Url: http://cgit.sxemacs.org/?p=emchat;a=commitdiff_plain;h=cc5c7b0137fb89fd057da1781d6443ee825621ab Prevent contact list management errors 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 --- diff --git a/emchat-v8.el b/emchat-v8.el index 4062ff0..3eabef0 100644 --- a/emchat-v8.el +++ b/emchat-v8.el @@ -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)