backend, bridge, frontends: actionNew has now a security_limit argument + added some docstring to explain data argument

This commit is contained in:
Goffi 2015-11-14 19:21:56 +01:00
commit fbbb081425

View file

@ -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