summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2011-11-07 23:37:16 +0100
committermathieui <mathieui@mathieui.net>2011-11-07 23:37:16 +0100
commit934006e2e90f70009a6ff354ee4f4541cc5b47fc (patch)
tree0abbaa6a497982c512338170746b3d945784ad99 /plugins
parentd8865bcd45794259f384a003c4a330f7e967dc10 (diff)
downloadpoezio-934006e2e90f70009a6ff354ee4f4541cc5b47fc.tar.gz
poezio-934006e2e90f70009a6ff354ee4f4541cc5b47fc.tar.bz2
poezio-934006e2e90f70009a6ff354ee4f4541cc5b47fc.tar.xz
poezio-934006e2e90f70009a6ff354ee4f4541cc5b47fc.zip
Activate figlet plugin in private and conversation tabs
Diffstat (limited to 'plugins')
-rw-r--r--plugins/figlet.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/figlet.py b/plugins/figlet.py
index ccff687a..cf885352 100644
--- a/plugins/figlet.py
+++ b/plugins/figlet.py
@@ -4,6 +4,8 @@ import subprocess
class Plugin(BasePlugin):
def init(self):
self.add_poezio_event_handler('muc_say', self.figletize)
+ self.add_poezio_event_handler('conversation_say', self.figletize)
+ self.add_poezio_event_handler('private_say', self.figletize)
def figletize(self, msg):
process = subprocess.Popen(['figlet', msg['body']], stdout=subprocess.PIPE)