mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05: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:
parent
d53c477e4e
commit
ce5a4ed77c
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user