mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-28 17:46:21 +00:00
Merge pull request #1892 from ike08/improvement/muc-title-behaviour
Improve MUC title behaviour for roster, statusbar, and titlebar
This commit is contained in:
@@ -2146,11 +2146,7 @@ _room_info_response_id_handler(xmpp_stanza_t* const stanza, void* const userdata
|
||||
if (identity) {
|
||||
if (name) {
|
||||
identity->name = strdup(name);
|
||||
ProfMucWin* mucwin = wins_get_muc(cb_data->room);
|
||||
if (mucwin) {
|
||||
free(mucwin->room_name);
|
||||
mucwin->room_name = strdup(name);
|
||||
}
|
||||
mucwin_set_room_name(cb_data->room, name);
|
||||
} else {
|
||||
identity->name = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user