diff options
author | Philipp Hörist <philipp@hoerist.com> | 2019-01-03 14:48:03 +0300 |
---|---|---|
committer | Philipp Hörist <philipp@hoerist.com> | 2019-01-03 14:48:03 +0300 |
commit | 5cca4c7d49d9dabd9a8f53a593688dbf98e8d99c (patch) | |
tree | da72a65514827fb4d482388dff62dea33bbf2c20 /nbxmpp | |
parent | 2c8f64557619fcc2d7065fbaedddad4ed700cdb7 (diff) |
Better detect MUC PMs
Diffstat (limited to 'nbxmpp')
-rw-r--r-- | nbxmpp/modules/muc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nbxmpp/modules/muc.py b/nbxmpp/modules/muc.py index 7031a24..e6456d3 100644 --- a/nbxmpp/modules/muc.py +++ b/nbxmpp/modules/muc.py @@ -180,7 +180,7 @@ class MUC: return # MUC Private message - if properties.type == MessageType.CHAT: + if properties.type == MessageType.CHAT and not muc_user.getChildren(): properties.muc_private_message = True return |