mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 19:36:20 +00:00
Only show MUC subject on first connect
For #704 we don't show the room history upon reconnect. Now we also don't show the room subject in the channel upon re-established connection.
This commit is contained in:
@@ -263,7 +263,7 @@ sv_ev_room_subject(const char *const room, const char *const nick, const char *c
|
|||||||
{
|
{
|
||||||
muc_set_subject(room, subject);
|
muc_set_subject(room, subject);
|
||||||
ProfMucWin *mucwin = wins_get_muc(room);
|
ProfMucWin *mucwin = wins_get_muc(room);
|
||||||
if (mucwin && muc_roster_complete(room)) {
|
if (mucwin && muc_roster_complete(room) && _success_connections_counter == 1) {
|
||||||
mucwin_subject(mucwin, nick, subject);
|
mucwin_subject(mucwin, nick, subject);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user