changeset 1cc46e8181b2 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=1cc46e8181b2
description: go back with is_groupchat() to detect groupchats. see #6906
diffstat:
src/dialogs.py | 2 +-
src/gui_interface.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r fa253547651b -r 1cc46e8181b2 src/dialogs.py
--- a/src/dialogs.py Fri Sep 30 13:47:15 2011 +0300
+++ b/src/dialogs.py Sun Oct 02 21:29:23 2011 +0200
@@ -2482,7 +2482,7 @@
return
if gajim.contacts.get_contact(self.account, room_jid) and \
- gajim.contacts.get_contact(self.account, room_jid).is_transport():
+ gajim.contacts.get_contact(self.account, room_jid).is_groupchat():
ErrorDialog(_('This is not a group chat'),
_('%s is not the name of a group chat.') % room_jid)
return
diff -r fa253547651b -r 1cc46e8181b2 src/gui_interface.py
--- a/src/gui_interface.py Fri Sep 30 13:47:15 2011 +0300
+++ b/src/gui_interface.py Sun Oct 02 21:29:23 2011 +0200
@@ -1903,7 +1903,7 @@
"""
if gajim.contacts.get_contact(account, room_jid) and \
- gajim.contacts.get_contact(account, room_jid).is_transport():
+ gajim.contacts.get_contact(account, room_jid).is_groupchat():
dialogs.ErrorDialog(_('This is not a group chat'),
_('%s is not the name of a group chat.') % room_jid)
return