core: plugins can now have profileConnected/profileDisconnected method to initialise/free profile dependant resources
This commit is contained in:
parent
9102048217
commit
07b44d3170
1 changed files with 9 additions and 2 deletions
|
|
@ -229,8 +229,8 @@ class SatPresenceProtocol(xmppim.PresenceClientProtocol):
|
|||
def available(self, entity=None, show=None, statuses=None, priority=0):
|
||||
if not statuses:
|
||||
statuses = {}
|
||||
# default for us is None for wokkel
|
||||
# so we must temporarily switch to wokkel's convention...
|
||||
# default for us is None for wokkel
|
||||
# so we must temporarily switch to wokkel's convention...
|
||||
if 'default' in statuses:
|
||||
statuses[None] = statuses['default']
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue