aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime “pep” Buquet2020-01-12 12:45:44 (GMT)
committerMaxime “pep” Buquet2020-01-12 22:23:17 (GMT)
commit5e404377d4eb1b80b81be91d75e12300c40b354c (patch)
treee000a455706e21e93bab81ea6a81e310419920bb
parentd8f7a6127109c437ae621cfa6e78944ad37fb8fd (diff)
downloadpoezio-5e404377d4eb1b80b81be91d75e12300c40b354c.tar.gz
poezio-5e404377d4eb1b80b81be91d75e12300c40b354c.tar.xz
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 “pep” Buquet <pep@bouah.net>
-rw-r--r--poezio/core/handlers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/core/handlers.py b/poezio/core/handlers.py
index 158dff1..cfdeb27 100644
--- a/poezio/core/handlers.py
+++ b/poezio/core/handlers.py
@@ -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))