Philipp Hörist pushed to branch master at gajim / gajim
Commits: 28aada12 by Philipp Hörist at 2018-07-13T18:09:48+02:00 Fix it better
- - - - -
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,7 +533,10 @@ class ConnectionHandlersBase: # We got our message's receipt if obj.receipt_received_tag and app.config.get_per('accounts', self.name, 'request_receipt'): - if obj.session and not obj.session.ctrl: + ctrl = None + if obj.session is not None: + ctrl = obj.session.control + if not 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/28aada122d550ef2acba3eeabc524ba8f9c...