diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-11-12 03:42:07 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-11-12 03:42:07 +0100 |
commit | 744af2459d7d3a3c7a7e9d1f3861d4d494a837ba (patch) | |
tree | 8e53ce2207498070f83ea325065b687051e434ed /src/events.py | |
parent | 6b9d166e1cfe6c71a1f55d86e144a17fc3e73581 (diff) | |
download | poezio-744af2459d7d3a3c7a7e9d1f3861d4d494a837ba.tar.gz poezio-744af2459d7d3a3c7a7e9d1f3861d4d494a837ba.tar.bz2 poezio-744af2459d7d3a3c7a7e9d1f3861d4d494a837ba.tar.xz poezio-744af2459d7d3a3c7a7e9d1f3861d4d494a837ba.zip |
Add three new events to modify a message JUST before we send it. It is NOT safe, and the doc says that pretty clearly. It is used to encrypt messages just before sending them (this way we can remove ALL potential in-clear bodies).
Diffstat (limited to 'src/events.py')
-rw-r--r-- | src/events.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/events.py b/src/events.py index 3a8e4d08..e94acb80 100644 --- a/src/events.py +++ b/src/events.py @@ -22,8 +22,11 @@ class EventHandler(object): self.events = { 'highlight': [], 'muc_say': [], + 'muc_say_after': [], 'conversation_say': [], + 'conversation_say_after': [], 'private_say': [], + 'private_say_after': [], 'conversation_msg': [], 'private_msg': [], 'muc_msg': [], |