xmpp: Fix muc_mention_compat
This commit is contained in:
parent
d385170165
commit
8c64358134
@ -430,8 +430,8 @@ class BridgeComponent(ComponentXMPP):
|
||||
self._logger.debug("Message empty. Not relaying.")
|
||||
return
|
||||
|
||||
if self._muc_mention_compat:
|
||||
mentions = [mention.display_name for mention in msg.mentions]
|
||||
mentions = [mention.display_name for mention in msg.mentions]
|
||||
if self._muc_mention_compat and mentions:
|
||||
content = ", ".join(mentions) + ": " + msg.clean_content
|
||||
else:
|
||||
content = msg.clean_content
|
||||
|
Loading…
Reference in New Issue
Block a user