diff src/plugins/plugin_exp_pubsub_hook.py @ 2444:30278ea1ca7c

plugin XEP-0060: added node watching methods to bridge: new methods psNodeWatchAdd and psNodeWatchRemove allows to set a watch for the time of the session on one node, to have a signal called when something change on this node. This signal (psEventRaw) send raw data (raw XML), in opposition to psEvent which is there to send high level data (e.g. parsed blog data). Those method are primarely there to let frontends manage local cache for pubsub nodes.
author Goffi <goffi@goffi.org>
date Sun, 19 Nov 2017 16:51:39 +0100
parents 8fa7edd0da24
children 0046283a285d
line wrap: on
line diff
--- a/src/plugins/plugin_exp_pubsub_hook.py	Sun Nov 19 16:46:07 2017 +0100
+++ b/src/plugins/plugin_exp_pubsub_hook.py	Sun Nov 19 16:51:39 2017 +0100
@@ -179,7 +179,7 @@
             - HOOK_TYPE_PYTHON_FILE: a python file
                 file must have a "hook" method which will be called
             - HOOK_TYPE_PYTHON_CODE: direct python code
-            /!\ Python hooks will be executed in SàT context,
+                /!\ Python hooks will be executed in SàT context,
                 with host, client and item as arguments, it means that:
                     - they can do whatever they wants, so don't run untrusted hooks
                     - they MUST NOT BLOCK, they are run in Twisted async environment and blocking would block whole SàT process