From 86d4874718ed84ae14aba9089850306768cead2a Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Mon, 18 Mar 2013 23:08:42 +0100 Subject: Revstr works in all conversation tabs now. --- plugins/revstr.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/revstr.py') 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] -- cgit v1.2.3