From cea5231c79aabc8a44c19e9dc0ef9d9b2cbfec3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Sat, 6 Oct 2018 23:08:53 +0200 Subject: [PATCH] Dont show joined message on status change --- gajim/groupchat_control.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gajim/groupchat_control.py b/gajim/groupchat_control.py index 8b0f7758e..33754bcda 100644 --- a/gajim/groupchat_control.py +++ b/gajim/groupchat_control.py @@ -1858,10 +1858,11 @@ class GroupchatControl(ChatControlBase): # init if obj.status_code and obj.nick == self.nick: if '110' in obj.status_code: - # We just join the room - self.print_conversation( - _('You (%s) joined the room') % self.nick, - 'info', graphics=False) + if not self.is_connected: + # We just join the room + self.print_conversation( + _('You (%s) joined the room') % self.nick, + 'info', graphics=False) if self.room_jid in app.automatic_rooms[self.account] and \ app.automatic_rooms[self.account][self.room_jid]['invities']: if self.room_jid not in app.interface.instances[