Commit 088c6c6a authored by louiz’'s avatar louiz’

Trivial line wrapping of the events.rst doc page

parent 2b10325b
...@@ -53,10 +53,11 @@ The following events are poezio-only events, for SleekXMPP events, check out ...@@ -53,10 +53,11 @@ The following events are poezio-only events, for SleekXMPP events, check out
- **message:** :py:class:`~sleekxmpp.Message` that will be sent - **message:** :py:class:`~sleekxmpp.Message` that will be sent
- **tab:** :py:class:`~tabs.ConversationTab` source - **tab:** :py:class:`~tabs.ConversationTab` source
Same thing than :term:`conversation_say`, but after XHTML generation of the body, if needed. Same thing than :term:`conversation_say`, but after XHTML generation
This means you must not insert any colors in the body in the handler, since of the body, if needed. This means you must not insert any colors
it may lead to send invalid XML. This hook is less safe than :term:`conversation_say` and in the body in the handler, since it may lead to send
you should probably not need it. invalid XML. This hook is less safe than :term:`conversation_say`
and you should probably not need it.
muc_msg muc_msg
- **message:** :py:class:`~sleekxmpp.Message` received - **message:** :py:class:`~sleekxmpp.Message` received
...@@ -96,7 +97,7 @@ The following events are poezio-only events, for SleekXMPP events, check out ...@@ -96,7 +97,7 @@ The following events are poezio-only events, for SleekXMPP events, check out
normal_presence normal_presence
- **presence:** :py:class:`~sleekxmpp.Presence` received - **presence:** :py:class:`~sleekxmpp.Presence` received
- **resource:** :py:class:`Resource <str>` that emitted the :py:class:`~sleekxmpp.Presence` - **resource:** :py:class:`Resource <str>` that emitted the :py:class:`~sleekxmpp.Presence`
Triggered when a presence is received from a contact. Triggered when a presence is received from a contact.
...@@ -104,13 +105,14 @@ The following events are poezio-only events, for SleekXMPP events, check out ...@@ -104,13 +105,14 @@ The following events are poezio-only events, for SleekXMPP events, check out
- **presence:** :py:class:`~sleekxmpp.Presence` received - **presence:** :py:class:`~sleekxmpp.Presence` received
- **tab:** :py:class:`~tabs.MucTab` source - **tab:** :py:class:`~tabs.MucTab` source
Triggered when a presence is received from someone in a :py:class:`~tabs.MucTab`. Triggered when a presence is received from someone in a
:py:class:`~tabs.MucTab`.
joining_muc joining_muc
- **presence:** :py:class:`~~sleekxmpp.Presence` to be sent - **presence:** :py:class:`~~sleekxmpp.Presence` to be sent
Triggered when joining a MUC. The presence can thus be modified
Triggered when joining a MUC. The presence can thus be modified before being sent. before being sent.
changing_nick changing_nick
- **presence:** :py:class:`~~sleekxmpp.Presence` to be sent - **presence:** :py:class:`~~sleekxmpp.Presence` to be sent
...@@ -121,7 +123,8 @@ The following events are poezio-only events, for SleekXMPP events, check out ...@@ -121,7 +123,8 @@ The following events are poezio-only events, for SleekXMPP events, check out
send_normal_presence send_normal_presence
- **presence:** :py:class:`~sleekxmpp.Presence` sent - **presence:** :py:class:`~sleekxmpp.Presence` sent
Triggered when poezio sends a new :py:class:`~sleekxmpp.Presence` stanza. The presence can thus be modified before being sent. Triggered when poezio sends a new :py:class:`~sleekxmpp.Presence`
stanza. The presence can thus be modified before being sent.
muc_join muc_join
- **presence:** :py:class:`~sleekxmpp.Presence` received - **presence:** :py:class:`~sleekxmpp.Presence` received
...@@ -154,7 +157,8 @@ The following events are poezio-only events, for SleekXMPP events, check out ...@@ -154,7 +157,8 @@ The following events are poezio-only events, for SleekXMPP events, check out
- **message**:py:class:`~sleekxmpp.Message` received - **message**:py:class:`~sleekxmpp.Message` received
- **tab:** :py:class:`~tabs.PrivateTab` source - **tab:** :py:class:`~tabs.PrivateTab` source
Triggered when a private message (that goes in a :py:class:`~tabs.PrivateTab`) Triggered when a private message (that goes in a
is ignored automatically by poezio. :py:class:`~tabs.PrivateTab`) is ignored automatically by poezio.
**tab** is always ``None``, except when a tab has already been opened. **tab** is always ``None``, except when a tab has already been
opened.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment