Philipp Hörist pushed to branch master at gajim / gajim

Commits:
cea5231c by Philipp Hörist at 2018-10-06T21:08:53Z
Dont show joined message on status change

- - - - -


1 changed file:

- gajim/groupchat_control.py


Changes:

=====================================
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[



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/cea5231c79aabc8a44c19e9dc0ef9d9b2cbfec3c

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/cea5231c79aabc8a44c19e9dc0ef9d9b2cbfec3c
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
Commits@gajim.org
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to