diff options
author | Philipp Hörist <philipp@hoerist.com> | 2022-10-05 16:26:55 +0300 |
---|---|---|
committer | Philipp Hörist <philipp@hoerist.com> | 2022-10-05 16:26:55 +0300 |
commit | 10c32003f035214bfddd852566865b572517ab55 (patch) | |
tree | 07494ddd056d02ebe9717caad846fd06e11f4cf0 | |
parent | 1346d8c4dae3757920ef1feb9754086851627f1a (diff) |
fix: MUC: Relax definition of MUC config change
-rw-r--r-- | nbxmpp/structs.py | 2 |
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: |