diff sat_frontends/quick_frontend/quick_chat.py @ 2788:4a05e67a8025

quick frontend (chat): fixed use of old method printInfo
author Goffi <goffi@goffi.org>
date Sat, 19 Jan 2019 23:27:22 +0100
parents 003b8b4b56a7
children 76f714b12d21
line wrap: on
line diff
--- a/sat_frontends/quick_frontend/quick_chat.py	Sat Jan 19 22:49:32 2019 +0100
+++ b/sat_frontends/quick_frontend/quick_chat.py	Sat Jan 19 23:27:22 2019 +0100
@@ -418,7 +418,10 @@
 
     def changeUserNick(self, old_nick, new_nick):
         """Change nick of a user in group list"""
-        self.printInfo("%s is now known as %s" % (old_nick, new_nick))
+        log.info("{old} is now known as {new} in room {room_jid}".format(
+            old = old_nick,
+            new = new_nick,
+            room_jid = self.target))
 
     ## Messages ##