about summary refs log tree commit diff stats
path: root/src/xmpp/presence.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmpp/presence.c')
-rw-r--r--src/xmpp/presence.c4
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