Event Index¶
The following events are poezio-only events, for Slixmpp events, check out their index.
- changing_nick
presence:
Presenceto be sent
Triggered when the user changes their nickname on a MUC. The presence can thus be modified before being sent.
- conversation_chatstate
message:
Messagereceivedtab:
ConversationTabsource
Triggered when a chatstate is received in a
ConversationTab.- conversation_msg
message:
Messagereceivedtab:
ConversationTabsource
Triggered when a message is received in a
ConversationTab.- conversation_say
message:
Messagethat will be senttab:
ConversationTabsource
Triggered whenever the user sends a message to a
ConversationTab.- conversation_say_after:
message:
Messagethat will be senttab:
ConversationTabsource
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:
Messagethat was receivedtab:
MucTabsource of the event
- ignored_private
message
Messagereceivedtab:
PrivateTabsource
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:
Presenceto be sent
Triggered when joining a MUC. The presence can thus be modified before being sent.
- muc_ban
presence:
Presencereceivedtab:
MucTabsource
Triggered when a user from a
MucTabgets banned.- muc_chatstate
message:
Messagereceivedtab:
MucTabsource
Triggered when a chatstate is received in a
MucTab.- muc_join
presence:
Presencereceivedtab:
MucTabsource
Triggered when a user joins a
MucTab- muc_kick
presence:
Presencereceivedtab:
MucTabsource
Triggered when a user from a
MucTabgets kicked.- muc_msg
message:
Messagereceivedtab:
MucTabsource
Triggered when a message is received in a
MucTab.- muc_nickchange
presence:
Presencereceivedtab:
MucTabsource
Triggered when a user in a
MucTabchanges his nickname.- muc_presence
presence:
Presencereceivedtab:
MucTabsource
Triggered when a presence is received from someone in a
MucTab.- muc_say
message:
Messagethat will be senttab:
MucTabsource
Triggered whenever the user sends a message to a
MucTab.- muc_say_after
message:
Messagethat will be senttab:
MucTabsource
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_sayand you should probably not need it.- normal_presence
-
Triggered when a presence is received from a contact.
- private_chatstate
message:
Messagereceivedtab:
PrivateTabsource
Triggered when a chatstate is received in a
PrivateTab.- private_msg
message:
Messagereceivedtab:
PrivateTabsource
Triggered when a message is received in a
PrivateTab.- private_say
message:
Messagethat will be senttab:
PrivateTabsource
Triggered whenever the user sends a message to a
PrivateTab.- private_say_after
message:
Messagethat will be senttab:
PrivateTabsource
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:
Presencesent
Triggered when poezio sends a new
Presencestanza. The presence can thus be modified before being sent.- tab_change
old_tab:
intOld current tab.new_tab:
intNew current tab.
Triggered whenever the user switches between tabs.