diff options
author | James Booth <boothj5@gmail.com> | 2015-11-01 23:33:50 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-11-01 23:33:50 +0000 |
commit | d21faa46097f9a4bfcef92c9355427c103beb549 (patch) | |
tree | 7beea7f1973577ea13950f2e67b00f9d1a8673ef /src/xmpp | |
parent | 363fda82c16efc8d296a50867edd6fcd45271c11 (diff) | |
download | profani-tty-d21faa46097f9a4bfcef92c9355427c103beb549.tar.gz |
mucwin_room_disco_info takes ProfMucWin
Diffstat (limited to 'src/xmpp')
-rw-r--r-- | src/xmpp/iq.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xmpp/iq.c b/src/xmpp/iq.c index 51f5c798..6029fe2b 100644 --- a/src/xmpp/iq.c +++ b/src/xmpp/iq.c @@ -1562,8 +1562,9 @@ _room_info_response_handler(xmpp_conn_t *const conn, xmpp_stanza_t *const stanza } muc_set_features(cb_data->room, features); - if (cb_data->display) { - mucwin_room_disco_info(cb_data->room, identities, features); + ProfMucWin *mucwin = wins_get_muc(cb_data->room); + if (mucwin && cb_data->display) { + mucwin_room_disco_info(mucwin, identities, features); } g_slist_free_full(features, free); |