backend, bridge, frontends: actionNew has now a security_limit argument + added some docstring to explain data argument
This commit is contained in:
parent
2c8b91ee6c
commit
fbbb081425
1 changed files with 30 additions and 14 deletions
|
|
@ -76,6 +76,6 @@ class Watched(object):
|
|||
if old_show == C.PRESENCE_UNAVAILABLE:
|
||||
watched = self.host.memory.getParamA(NAME, CATEGORY, profile_key=profile)
|
||||
if entity in watched or entity.userhostJID() in watched:
|
||||
self.host.actionNew({'xmlui': xml_tools.note(_(NOTIF).format(entity=entity.full())).toXml()}, profile)
|
||||
self.host.actionNew({'xmlui': xml_tools.note(_(NOTIF).format(entity=entity.full())).toXml()}, profile=profile)
|
||||
|
||||
return True
|
||||
|
|
|
|||
Loading…
Reference in a new issue