Event Index¶
The following events are poezio-only events, for Slixmpp events, check out their index.
- changing_nick¶
presence:
Presence
to be sent
Triggered when the user changes his/her nickname on a MUC. The presence can thus be modified before being sent.
- conversation_chatstate¶
message:
Message
receivedtab:
ConversationTab
source
Triggered when a chatstate is received in a
ConversationTab
.- conversation_msg¶
message:
Message
receivedtab:
ConversationTab
source
Triggered when a message is received in a
ConversationTab
.- conversation_say¶
message:
Message
that will be senttab:
ConversationTab
source
Triggered whenever the user sends a message to a
ConversationTab
.- conversation_say_after:¶
message:
Message
that will be senttab:
ConversationTab
source
Same thing than conversation_say, but after XHTML generation of the body, if needed. This means you must not insert any colors in the body in the handler, since it may lead to send invalid XML. This hook is less safe than conversation_say and you should probably not need it.
- highlight¶
message:
Message
that was receivedtab:
MucTab
source of the event
- ignored_private¶
message
Message
receivedtab:
PrivateTab
source
Triggered when a private message (that goes in a
PrivateTab
) is ignored automatically by poezio.- tab is always
None
, except when a tab has already been opened.
- joining_muc¶
presence:
Presence
to be sent
Triggered when joining a MUC. The presence can thus be modified before being sent.
- muc_ban¶
presence:
Presence
receivedtab:
MucTab
source
Triggered when a user from a
MucTab
gets banned.- muc_chatstate¶
message:
Message
receivedtab:
MucTab
source
Triggered when a chatstate is received in a
MucTab
.- muc_join¶
presence:
Presence
receivedtab:
MucTab
source
Triggered when a user joins a
MucTab
- muc_kick¶
presence:
Presence
receivedtab:
MucTab
source
Triggered when a user from a
MucTab
gets kicked.- muc_msg¶
message:
Message
receivedtab:
MucTab
source
Triggered when a message is received in a
MucTab
.- muc_nickchange¶
presence:
Presence
receivedtab:
MucTab
source
Triggered when a user in a
MucTab
changes his nickname.- muc_presence¶
presence:
Presence
receivedtab:
MucTab
source
Triggered when a presence is received from someone in a
MucTab
.- muc_say¶
message:
Message
that will be senttab:
MucTab
source
Triggered whenever the user sends a message to a
MucTab
.- muc_say_after¶
message:
Message
that will be senttab:
MucTab
source
Same thing than muc_say, but after XHTML generation of the body, if needed. This means you must not insert any colors in the body in the handler, since it may lead to send invalid XML. This hook is less safe than
muc_say
and you should probably not need it.- normal_presence¶
-
Triggered when a presence is received from a contact.
- private_chatstate¶
message:
Message
receivedtab:
PrivateTab
source
Triggered when a chatstate is received in a
PrivateTab
.- private_msg¶
message:
Message
receivedtab:
PrivateTab
source
Triggered when a message is received in a
PrivateTab
.- private_say¶
message:
Message
that will be senttab:
PrivateTab
source
Triggered whenever the user sends a message to a
PrivateTab
.- private_say_after¶
message:
Message
that will be senttab:
PrivateTab
source
Same thing than private_say, but after XHTML generation of the body, if needed. This means you must not insert any colors in the body in the handler, since it may lead to send invalid XML. This hook is less safe than private_say and you should probably not need it.
- send_normal_presence¶
presence:
Presence
sent
Triggered when poezio sends a new
Presence
stanza. The presence can thus be modified before being sent.- tab_change¶
-
Triggered whenever the user switches between tabs.