Revision: mange@freemail.hu--2005/emacs-jabber--cvs-head--0--patch-595
Creator: Magnus Henoch <mange@freemail.hu> Options for jabber-post-connect-hook; properly add jabber-vcard-avatars-find-current
This commit is contained in:
parent
720546fe62
commit
efec180f33
|
@ -68,10 +68,16 @@
|
|||
|
||||
(defcustom jabber-post-connect-hooks '(jabber-send-current-presence
|
||||
jabber-muc-autojoin
|
||||
jabber-whitespace-ping-start)
|
||||
jabber-whitespace-ping-start
|
||||
jabber-vcard-avatars-find-current)
|
||||
"*Hooks run after successful connection and authentication.
|
||||
The functions should accept one argument, the connection object."
|
||||
:type 'hook
|
||||
:options '(jabber-send-current-presence
|
||||
jabber-muc-autojoin
|
||||
jabber-whitespace-ping-start
|
||||
jabber-keepalive-start
|
||||
jabber-vcard-avatars-find-current)
|
||||
:group 'jabber-core)
|
||||
|
||||
(defcustom jabber-pre-disconnect-hook nil
|
||||
|
|
|
@ -94,7 +94,6 @@ Keys are full JIDs.")
|
|||
(jabber-avatar-set from avatar))
|
||||
(jabber-avatar-set from nil))))
|
||||
|
||||
(add-hook 'jabber-post-connect-hooks 'jabber-vcard-avatars-find-current)
|
||||
(defun jabber-vcard-avatars-find-current (jc)
|
||||
"Request our own vCard, to find hash of avatar."
|
||||
(when jabber-vcard-avatars-publish
|
||||
|
|
Loading…
Reference in New Issue
Block a user