Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gajim/gtk/start_chat.py5
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()