about summary refs log tree commit diff stats
path: root/src/xmpp/iq.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmpp/iq.c')
-rw-r--r--src/xmpp/iq.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xmpp/iq.c b/src/xmpp/iq.c
index 7589c547..0e4dd151 100644
--- a/src/xmpp/iq.c
+++ b/src/xmpp/iq.c
@@ -2077,6 +2077,10 @@ _room_info_response_id_handler(xmpp_stanza_t *const stanza, void *const userdata
 
                     if (name) {
                         identity->name = strdup(name);
+                        ProfMucWin *mucwin = wins_get_muc(cb_data->room);
+                        if (mucwin) {
+                            mucwin->room_name = strdup(name);
+                        }
                     } else {
                         identity->name = NULL;
                     }