diff options
author | Florent Le Coz <louiz@louiz.org> | 2013-05-01 18:44:14 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2013-05-01 18:44:14 +0200 |
commit | ea12f4ccce12497628da06b96e2027769baeee8d (patch) | |
tree | b66cd82ac61a062b3f2dfcd50c9b30b3e14090de | |
parent | e8f5c21fcd4fd80534437ad914b6f80b9b606720 (diff) | |
download | poezio-ea12f4ccce12497628da06b96e2027769baeee8d.tar.gz poezio-ea12f4ccce12497628da06b96e2027769baeee8d.tar.bz2 poezio-ea12f4ccce12497628da06b96e2027769baeee8d.tar.xz poezio-ea12f4ccce12497628da06b96e2027769baeee8d.zip |
Document the new event
-rw-r--r-- | doc/source/dev/events.rst | 6 | ||||
-rw-r--r-- | src/plugin.py | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/doc/source/dev/events.rst b/doc/source/dev/events.rst index c2aa4036..6e35a992 100644 --- a/doc/source/dev/events.rst +++ b/doc/source/dev/events.rst @@ -100,6 +100,12 @@ The following events are poezio-only events, for SleekXMPP events, check out Triggered when a presence is received from someone in a :py:class:`~tabs.MucTab`. + joining_muc + - **presence:** :py:class:`~~sleekxmpp.Presence` to be sent + + + Triggered when joining a MUC. The presence can thus be modified before being sent. + send_normal_presence - **presence:** :py:class:`~sleekxmpp.Presence` sent diff --git a/src/plugin.py b/src/plugin.py index 9687c1d2..d25192b3 100644 --- a/src/plugin.py +++ b/src/plugin.py @@ -318,7 +318,7 @@ class PluginAPI(object): Defaults to 0. A complete list of those events can be found at - http://poezio.eu/doc/en/plugins.html#events-list + http://poezio.eu/doc/en/dev/events.html """ return self.plugin_manager.add_event_handler(module, *args, **kwargs) |