summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-02-03 09:34:19 +0100
committermathieui <mathieui@mathieui.net>2014-02-03 09:34:19 +0100
commitf6e5cd186f41d4ce48d9341b16e7650bed431030 (patch)
tree674472ff5708960aea81766c0a209118c8942154 /plugins
parent20e5c69503acff7050132f73abae2657db27a3a8 (diff)
downloadpoezio-f6e5cd186f41d4ce48d9341b16e7650bed431030.tar.gz
poezio-f6e5cd186f41d4ce48d9341b16e7650bed431030.tar.bz2
poezio-f6e5cd186f41d4ce48d9341b16e7650bed431030.tar.xz
poezio-f6e5cd186f41d4ce48d9341b16e7650bed431030.zip
Log our own message with the otr plugin if configured
Diffstat (limited to 'plugins')
-rw-r--r--plugins/otr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/otr.py b/plugins/otr.py
index d453f2bd..a1bc7a45 100644
--- a/plugins/otr.py
+++ b/plugins/otr.py
@@ -487,7 +487,7 @@ class Plugin(BasePlugin):
nick_color=theming.get_theme().COLOR_OWN_NICK,
identifier=msg['id'],
jid=self.core.xmpp.boundjid,
- typ=0)
+ typ=ctx.log)
# remove everything from the message so that it doesn’t get sent
del msg['body']
del msg['replace']