Mercurial > pidgin
diff libpurple/protocols/jabber/chat.h @ 26802:af2b87aa82ee
Add ability to list roles/affiliations in a chat via slash-commands and
modify roles/affiliations of multiple users at a time. Closes #5649.
Slightly modified patch from Andrei Mozzhuhin. The multiple-user support
is inefficient; all the changes can go in one stanza. We should also
actually track roles/affiliations of members since ejabberd's MUC won't
respond to the list query for a non-admin.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Sun, 03 May 2009 19:53:53 +0000 |
parents | 5767b7698c73 |
children | eeee4309d3d8 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/chat.h Sun May 03 19:36:36 2009 +0000 +++ b/libpurple/protocols/jabber/chat.h Sun May 03 19:53:53 2009 +0000 @@ -81,8 +81,10 @@ const char *why); gboolean jabber_chat_affiliate_user(JabberChat *chat, const char *who, const char *affiliation); +gboolean jabber_chat_affiliation_list(JabberChat *chat, const char *affiliation); gboolean jabber_chat_role_user(JabberChat *chat, const char *who, const char *role); +gboolean jabber_chat_role_list(JabberChat *chat, const char *role); gboolean jabber_chat_kick_user(JabberChat *chat, const char *who, const char *why);