diff options
author | James Booth <boothj5@gmail.com> | 2014-10-18 01:37:52 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-10-18 01:37:52 +0100 |
commit | 67755ca74d7d7ec53a1365eacfdca883f4c376f2 (patch) | |
tree | 65180fac8673e0730e9ed2593ebde13e8f5b1c79 /src/xmpp | |
parent | 3790b16299efb29843d4a221c41047d094616b5e (diff) | |
download | profani-tty-67755ca74d7d7ec53a1365eacfdca883f4c376f2.tar.gz |
Added reason to role/affiliation changes
Diffstat (limited to 'src/xmpp')
-rw-r--r-- | src/xmpp/presence.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xmpp/presence.c b/src/xmpp/presence.c index ea382523..80377703 100644 --- a/src/xmpp/presence.c +++ b/src/xmpp/presence.c @@ -759,7 +759,9 @@ _muc_user_handler(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza, void * // self online } else { gboolean config_required = stanza_muc_requires_config(stanza); - handle_muc_self_online(room, nick, config_required, role, affiliation, jid, show_str, status_str); + char *actor = stanza_get_kickban_actor(stanza); + char *reason = stanza_get_kickban_reason(stanza); + handle_muc_self_online(room, nick, config_required, role, affiliation, actor, reason, jid, show_str, status_str); } // handle presence from room members |