Commit 935573db authored by Saul Ibarra's avatar Saul Ibarra

Publish presence state when accounts are activated

parent 82d5b407
......@@ -214,6 +214,7 @@ class PresencePublicationHandler(object):
if account is not BonjourAccount():
notification.center.add_observer(self, sender=account, name='SIPAccountGotSelfPresenceState')
account.icon = None
self.publish([account])
def _NH_SIPAccountWillDeactivate(self, notification):
account = notification.sender
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment