primitivus: displayed presence/status was not updated when the presence is "Online".

This commit is contained in:
souliane 2014-02-18 19:37:29 +01:00
commit a9cd2cab36

View file

@ -623,7 +623,7 @@ class PrimitivusApp(QuickApp, InputHistory):
self.chat_wins[from_bare].updateChatState(state)
def setStatusOnline(self, online=True, show="", statuses={}):
if not online or not show or not statuses:
if not online or not statuses:
return
try:
self.status_bar.setPresenceStatus(show, statuses['default'])