26 Jun 2009 18:42
[PATCH] add password cache support for MUC passwords
Adam Glasgall <adam <at> crossproduct.net>
2009-06-26 16:42:20 GMT
2009-06-26 16:42:20 GMT
Hi, This patch adds support for caching the passwords for password-protected MUCs in the Emacs password cache if it's available. It's useful if your XMPP server doesn't have bookmark support (e.g. Google Talk). Signed-off-by: Adam Glasgall <adam <at> crossproduct.net --- jabber-muc.el | 29 ++++++++++++++++++++++++++++- 1 files changed, 28 insertions(+), 1 deletions(-) diff --git a/jabber-muc.el b/jabber-muc.el index 8c199fa..0060afc 100644 --- a/jabber-muc.el +++ b/jabber-muc.el <at> <at> -38,6 +38,13 <at> <at> Keys are JID symbols; values are strings. This table records the last nickname used to join the particular chat room. Items are thus never removed.") +(defvar jabber-pending-passwords (make-hash-table) + "Hash table of password-protected groupchats and passwords. +Keys are JID symbols; values are strings. +This table records the password that a user attempted to join a groupchat +with. If the attempt was successful, the password is put into the password +cache and removed from this table.") + (defvar jabber-muc-participants nil "alist of groupchats and participants Keys are strings, the bare JID of the room.(Continue reading)
RSS Feed