Commit 7bbf8194 authored by Philipp Hörist's avatar Philipp Hörist

MUC: Set muc_private_message attribute also for error messages

parent 1c38ab14
Pipeline #4398 passed with stages
in 18 seconds
......@@ -185,7 +185,9 @@ class MUC:
return
# MUC Private message
if properties.type == MessageType.CHAT and not muc_user.getChildren():
if (properties.type.is_chat or
properties.type.is_error and
not muc_user.getChildren()):
properties.muc_private_message = True
return
......
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