mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-26 22:56:21 +00:00
Save MUC room name in ProfMucWin
We will need this if we want to display the Name instead of the JID.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user