Commit 86d48747 authored by louiz’'s avatar louiz’

Revstr works in all conversation tabs now.

parent 4fe05f3c
......@@ -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]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment