no need to bool()

This commit is contained in:
Nikos Kouremenos 2005-05-30 21:16:59 +00:00
parent 968762437f
commit f0795a86b9
1 changed files with 2 additions and 3 deletions

View File

@ -300,12 +300,11 @@ class Tabbed_chat_window(chat.Chat):
chat.Chat.print_conversation_line(self, text, jid, kind, name, tim)
def restore_conversation(self, jid):
is_transport = bool(
jid.startswith('aim.') or jid.startswith('gadugadu.') or\
is_transport = jid.startswith('aim.') or jid.startswith('gadugadu.') or\
jid.startswith('irc.') or jid.startswith('icq.') or\
jid.startswith('msn.') or jid.startswith('sms.') or\
jid.startswith('yahoo.')
)
if is_transport:
return