summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-02-05 16:38:40 +0100
committermathieui <mathieui@mathieui.net>2012-02-05 16:38:40 +0100
commit5593fabe6c79dd5c6b44a48c004ea71e789d53aa (patch)
treebf6993bf7f020e4aaa3c5fd34ad0955d19a8ded4 /src
parente74a640fdddf9d18c8692db7f759582a57386e88 (diff)
downloadpoezio-5593fabe6c79dd5c6b44a48c004ea71e789d53aa.tar.gz
poezio-5593fabe6c79dd5c6b44a48c004ea71e789d53aa.tar.bz2
poezio-5593fabe6c79dd5c6b44a48c004ea71e789d53aa.tar.xz
poezio-5593fabe6c79dd5c6b44a48c004ea71e789d53aa.zip
Log the private messages sent
Diffstat (limited to 'src')
-rw-r--r--src/tabs.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 9bc6e24c..e0c71758 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -1388,6 +1388,7 @@ class PrivateTab(ChatTab):
msg = self.core.xmpp.make_message(self.get_name())
msg['type'] = 'chat'
msg['body'] = line
+ logger.log_message(self.get_name().replace('/', '\\'), self.own_nick, line)
# trigger the event BEFORE looking for colors.
# This lets a plugin insert \x19xxx} colors, that will
# be converted in xhtml.