Mercurial > libervia-backend
diff src/plugins/plugin_misc_watched.py @ 1599:e2ed8009e66e
backend, bridge, frontends: actionNew has now a security_limit argument + added some docstring to explain data argument
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 14 Nov 2015 19:21:56 +0100 |
parents | 8d61160ee4b8 |
children | d17772b0fe22 |
line wrap: on
line diff
--- a/src/plugins/plugin_misc_watched.py Sat Nov 14 19:20:33 2015 +0100 +++ b/src/plugins/plugin_misc_watched.py Sat Nov 14 19:21:56 2015 +0100 @@ -76,6 +76,6 @@ 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