diff options
author | Philipp Hörist <philipp@hoerist.com> | 2023-10-29 13:06:35 +0300 |
---|---|---|
committer | Philipp Hörist <philipp@hoerist.com> | 2023-10-29 13:07:53 +0300 |
commit | 079f4a629abc000936dd22fa0d6c030696b6dcde (patch) | |
tree | 45b57765b6684d46bbd8cbf51b2451ad6022a662 | |
parent | 74be6b5e2c70599692b851e687b54f7b36f1c9c0 (diff) |
imprv: StartChat: Better discover MUC services
-rw-r--r-- | gajim/gtk/start_chat.py | 5 |
1 files changed, 4 insertions, 1 deletions
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() |