This commit is contained in:
Florent Le Coz 2011-09-25 15:33:05 +02:00
parent 0ee2194d3c
commit e718682c7f

View file

@ -390,7 +390,7 @@ class Core(object):
if time.time() - self.connection_time > 12: if time.time() - self.connection_time > 12:
# We do not display messages if we recently logged in # We do not display messages if we recently logged in
self.information("\x193}%s \x195}is \x194}online\x195} (\x190}%s\x195})" % (resource.get_jid().bare, status), "Roster") self.information("\x193}%s \x195}is \x194}online\x195} (\x190}%s\x195})" % (resource.get_jid().bare, status), "Roster")
self.add_information_message_to_conversation_tab(jid.bare, '\x195%s is \x194}online' % (jid.bare)) self.add_information_message_to_conversation_tab(jid.bare, '\x195}%s is \x194}online' % (jid.bare))
contact.add_resource(resource) contact.add_resource(resource)
def add_information_message_to_conversation_tab(self, jid, msg): def add_information_message_to_conversation_tab(self, jid, msg):