summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2013-03-18 23:08:42 +0100
committerFlorent Le Coz <louiz@louiz.org>2013-03-18 23:08:42 +0100
commit86d4874718ed84ae14aba9089850306768cead2a (patch)
tree1230e504149349394c3b53ba7c58ca4bde14cf17 /plugins
parent4fe05f3c840cee52480b150a03b9548e673eb3ff (diff)
downloadpoezio-86d4874718ed84ae14aba9089850306768cead2a.tar.gz
poezio-86d4874718ed84ae14aba9089850306768cead2a.tar.bz2
poezio-86d4874718ed84ae14aba9089850306768cead2a.tar.xz
poezio-86d4874718ed84ae14aba9089850306768cead2a.zip
Revstr works in all conversation tabs now.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/revstr.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/revstr.py b/plugins/revstr.py
index 98a6ea1a..27141969 100644
--- a/plugins/revstr.py
+++ b/plugins/revstr.py
@@ -3,6 +3,8 @@ from plugin import BasePlugin
class Plugin(BasePlugin):
def init(self):
self.api.add_event_handler('muc_say', self.revstr)
+ self.api.add_event_handler('conversation_say', self.revstr)
+ self.api.add_event_handler('private_say', self.revstr)
def revstr(self, msg, tab):
msg['body'] = msg['body'][::-1]