Verified Commit 5e404377 authored by Maxime Buquet's avatar Maxime Buquet

Disco#info barejid instead of domain only on carbons

There is no apparent reason why a disco#info should be done on the
domain Jid rather than the bare Jid. MUCs advertize their MUC-y-ness on
the bare Jid. This will also fix cases like chat@dino.im which is a MUC
component itself (whereas dino.im is a user host), and biboumi
components that serves a mic of MUCs and (IRC) users.
Signed-off-by: Maxime Buquet's avatarMaxime “pep” Buquet <pep@bouah.net>
parent d8f7a612
......@@ -175,7 +175,7 @@ class HandlerCore:
if is_muc_pm is None:
fixes.has_identity(
self.core.xmpp,
recv['from'].server,
recv['from'].bare,
identity='conference',
on_true=functools.partial(ignore_message, recv),
on_false=functools.partial(receive_message, recv))
......
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