From 5593fabe6c79dd5c6b44a48c004ea71e789d53aa Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 5 Feb 2012 16:38:40 +0100 Subject: Log the private messages sent --- src/tabs.py | 1 + 1 file changed, 1 insertion(+) 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. -- cgit v1.2.3