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

Commits:
45635736 by Philipp Hörist at 2018-07-13T18:06:31+02:00
Fix error if session is None

- - - - -


1 changed file:

- gajim/common/connection_handlers.py


Changes:

=====================================
gajim/common/connection_handlers.py
=====================================
--- a/gajim/common/connection_handlers.py
+++ b/gajim/common/connection_handlers.py
@@ -533,8 +533,7 @@ class ConnectionHandlersBase:
         # We got our message's receipt
         if obj.receipt_received_tag and app.config.get_per('accounts',
         self.name, 'request_receipt'):
-            ctrl = obj.session.control
-            if not ctrl:
+            if obj.session and not obj.session.ctrl:
                 # Received <message> doesn't have the <thread> element
                 # or control is not bound to session?
                 # --> search for it



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

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/45635736bfac274ac0654a46344ab8cc62e71410
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