changeset 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 298408833ec2
children d350f4571d82
files sat_frontends/quick_frontend/quick_chat.py
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
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 ##