From ce5a4ed77cb8e9912747a5450b43093fb2df65f5 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Wed, 5 Jun 2019 10:03:44 +0200 Subject: [PATCH] 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. --- src/event/server_events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/event/server_events.c b/src/event/server_events.c index 85c0e6ca..9c89a019 100644 --- a/src/event/server_events.c +++ b/src/event/server_events.c @@ -263,7 +263,7 @@ sv_ev_room_subject(const char *const room, const char *const nick, const char *c { muc_set_subject(room, subject); 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); } }