no need to bool()
This commit is contained in:
parent
968762437f
commit
f0795a86b9
|
@ -300,12 +300,11 @@ class Tabbed_chat_window(chat.Chat):
|
||||||
chat.Chat.print_conversation_line(self, text, jid, kind, name, tim)
|
chat.Chat.print_conversation_line(self, text, jid, kind, name, tim)
|
||||||
|
|
||||||
def restore_conversation(self, jid):
|
def restore_conversation(self, jid):
|
||||||
is_transport = bool(
|
is_transport = jid.startswith('aim.') or jid.startswith('gadugadu.') or\
|
||||||
jid.startswith('aim.') or jid.startswith('gadugadu.') or\
|
|
||||||
jid.startswith('irc.') or jid.startswith('icq.') or\
|
jid.startswith('irc.') or jid.startswith('icq.') or\
|
||||||
jid.startswith('msn.') or jid.startswith('sms.') or\
|
jid.startswith('msn.') or jid.startswith('sms.') or\
|
||||||
jid.startswith('yahoo.')
|
jid.startswith('yahoo.')
|
||||||
)
|
|
||||||
if is_transport:
|
if is_transport:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue