changeset 0dad513e58f5 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=0dad513e58f5
description: Fix #6906 again. is_groupchat() are not working as it should. it checks whether the gc connected(is_groupchat_connected()).
diffstat:
src/dialogs.py | 2 +-
src/gui_interface.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r 7d68115746e2 -r 0dad513e58f5 src/dialogs.py
--- a/src/dialogs.py Tue Sep 27 16:52:30 2011 +0200
+++ b/src/dialogs.py Tue Sep 27 18:16:06 2011 +0300
@@ -2482,7 +2482,7 @@
return
if gajim.contacts.get_contact(self.account, room_jid) and \
- not gajim.contacts.get_contact(self.account, room_jid).is_groupchat():
+ not gajim.contacts.get_contact(self.account, room_jid).is_transport():
ErrorDialog(_('This is not a group chat'),
_('%s is not the name of a group chat.') % room_jid)
return
diff -r 7d68115746e2 -r 0dad513e58f5 src/gui_interface.py
--- a/src/gui_interface.py Tue Sep 27 16:52:30 2011 +0200
+++ b/src/gui_interface.py Tue Sep 27 18:16:06 2011 +0300
@@ -1903,7 +1903,7 @@
"""
if gajim.contacts.get_contact(account, room_jid) and \
- not gajim.contacts.get_contact(account, room_jid).is_groupchat():
+ gajim.contacts.get_contact(account, room_jid).is_transport():
dialogs.ErrorDialog(_('This is not a group chat'),
_('%s is not the name of a group chat.') % room_jid)
return
changeset 5902e53da71a in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=5902e53da71a
description: fix var name
diffstat:
src/dialogs.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r a59f75f16645 -r 5902e53da71a src/dialogs.py
--- a/src/dialogs.py Tue Sep 27 16:19:20 2011 +0300
+++ b/src/dialogs.py Tue Sep 27 17:23:10 2011 +0300
@@ -2482,7 +2482,7 @@
return
if gajim.contacts.get_contact(self.account, room_jid) and \
- not gajim.contacts.get_contact(account, room_jid).is_groupchat():
+ not 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