From 079f4a629abc000936dd22fa0d6c030696b6dcde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Sun, 29 Oct 2023 11:06:35 +0100 Subject: imprv: StartChat: Better discover MUC services --- gajim/gtk/start_chat.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gajim/gtk/start_chat.py b/gajim/gtk/start_chat.py index ff97f99f3..d115b31c7 100644 --- a/gajim/gtk/start_chat.py +++ b/gajim/gtk/start_chat.py @@ -416,7 +416,10 @@ class StartChatDialog(Gtk.ApplicationWindow): self._show_error_page(_('This address is not reachable.')) return - if result.is_muc: + if result.is_muc and not result.jid.is_domain: + # This is mostly a fix for the MUC protocol, there is no + # way to differentiate between a MUC service and room. + # Except the MUC XEP defines rooms should have a localpart. row.update_chat_type(groupchat=True) else: row.update_chat_type() -- cgit v1.2.3