Remove a typo
This commit is contained in:
parent
8caf7651a9
commit
c9f4370598
1 changed files with 2 additions and 2 deletions
|
@ -178,7 +178,7 @@ class Gui(object):
|
|||
if not contact:
|
||||
return
|
||||
contact.set_presence('unavailable')
|
||||
self.information('%s is not offline' % (contact.get_jid()), "Roster")
|
||||
self.information('%s is offline' % (contact.get_jid()), "Roster")
|
||||
|
||||
def on_got_online(self, presence):
|
||||
jid = presence['from']
|
||||
|
@ -189,7 +189,7 @@ class Gui(object):
|
|||
priority = presence.getPriority()
|
||||
contact.set_presence(status)
|
||||
contact.set_priority(priority)
|
||||
self.information("%s is now online (%s)" % (contact.get_jid(), status), "Roster")
|
||||
self.information("%s is online (%s)" % (contact.get_jid(), status), "Roster")
|
||||
|
||||
def on_connected(self, event):
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue