This commit is contained in:
Jean-Marie Traissard 2006-10-03 19:34:17 +00:00
parent 075a16dac7
commit 87aafdf680
1 changed files with 1 additions and 3 deletions

View File

@ -629,9 +629,7 @@ class Interface:
jids = full_jid_with_resource.split('/', 1)
jid = jids[0]
gc_control = self.msg_win_mgr.get_control(jid, account)
if gc_control and gc_control.type_id != message_control.TYPE_GC:
gc_control = None
if gc_control:
if gc_control and gc_control.type_id == message_control.TYPE_GC:
if len(jids) > 1: # it's a pm
nick = jids[1]
if not self.msg_win_mgr.get_control(full_jid_with_resource,