summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/source/dev/events.rst6
-rw-r--r--src/plugin.py2
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)