Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/python-nbxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nbxmpp/modules/muc/muc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nbxmpp/modules/muc/muc.py b/nbxmpp/modules/muc/muc.py
index 268cbe6..700a236 100644
--- a/nbxmpp/modules/muc/muc.py
+++ b/nbxmpp/modules/muc/muc.py
@@ -228,7 +228,7 @@ class MUC(BaseModule):
properties.muc_ofrom = JID.from_string(address.getAttr('jid'))
def _process_message_after_decryption(self, _client, _stanza, properties):
- if properties.body is None and properties.subject:
+ if properties.body is None and properties.subject is not None:
properties.muc_subject = MucSubject(
text=properties.subject,
author=properties.muc_nickname,