Commit f6e5cd18 authored by mathieui's avatar mathieui

Log our own message with the otr plugin if configured

parent 20e5c695
......@@ -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']
......
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