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:
authorPhilipp Hörist <philipp@hoerist.com>2022-10-05 16:26:55 +0300
committerPhilipp Hörist <philipp@hoerist.com>2022-10-05 16:26:55 +0300
commit10c32003f035214bfddd852566865b572517ab55 (patch)
tree07494ddd056d02ebe9717caad846fd06e11f4cf0
parent1346d8c4dae3757920ef1feb9754086851627f1a (diff)
fix: MUC: Relax definition of MUC config change
-rw-r--r--nbxmpp/structs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nbxmpp/structs.py b/nbxmpp/structs.py
index aa0ba34..f35d2b7 100644
--- a/nbxmpp/structs.py
+++ b/nbxmpp/structs.py
@@ -1057,7 +1057,7 @@ class MessageProperties:
@property
def is_muc_config_change(self) -> bool:
- return self.body is None and bool(self.muc_status_codes)
+ return bool(self.muc_status_codes)
@property
def is_muc_pm(self) -> bool: