Daniel Brötzmann pushed to branch master at gajim / gajim


Commits:
312efbe5 by wurstsalat at 2021-12-09T10:32:26+01:00
BaseControl: Check for message text before adding status message

- - - - -


1 changed file:

- gajim/gtk/controls/base.py


Changes:

=====================================
gajim/gtk/controls/base.py
=====================================
@@ -1416,14 +1416,14 @@ def add_messages(self, messages):
                 self.conversation_view.add_call_message(db_message=msg)
                 continue
 
+            if not msg.message:
+                continue
+
             if msg.kind in (KindConstant.STATUS,
                             KindConstant.GCSTATUS):
                 self.conversation_view.add_info_message(msg.message)
                 continue
 
-            if not msg.message:
-                continue
-
             message_text = msg.message
 
             contact_name = msg.contact_name



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/312efbe5d33852dfe0459c476b0bd97e79ef2c30

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/312efbe5d33852dfe0459c476b0bd97e79ef2c30
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to