summaryrefslogtreecommitdiff
path: root/src/events.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2011-11-09 23:17:00 +0100
committermathieui <mathieui@mathieui.net>2011-11-09 23:17:00 +0100
commit4e0c1b0820432460750ea69c5bdeb47670f4c013 (patch)
tree226e163ca062db0a4dd2dd79153b888485043890 /src/events.py
parentf55a0c92f21e8b0c5cbd1e0413f2c2a95b29a8ae (diff)
downloadpoezio-4e0c1b0820432460750ea69c5bdeb47670f4c013.tar.gz
poezio-4e0c1b0820432460750ea69c5bdeb47670f4c013.tar.bz2
poezio-4e0c1b0820432460750ea69c5bdeb47670f4c013.tar.xz
poezio-4e0c1b0820432460750ea69c5bdeb47670f4c013.zip
New events in the plugins API
Diffstat (limited to 'src/events.py')
-rw-r--r--src/events.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/events.py b/src/events.py
index cd45448f..1464b2d8 100644
--- a/src/events.py
+++ b/src/events.py
@@ -27,6 +27,11 @@ class EventHandler(object):
'conversation_msg': [],
'private_msg': [],
'muc_msg': [],
+ 'normal_chatstate': [],
+ 'muc_chatsate': [],
+ 'private_chatsate': [],
+ 'normal_presence': [],
+ 'muc_presence': [],
}
def add_event_handler(self, name, callback, position=0):