Commit 5cca4c7d authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Better detect MUC PMs

parent 2c8f6455
......@@ -180,7 +180,7 @@ class MUC:
# MUC Private message
if properties.type == MessageType.CHAT:
if properties.type == MessageType.CHAT and not muc_user.getChildren():
properties.muc_private_message = True
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment