Mercurial > libervia-backend
comparison 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 |
comparison
equal
deleted
inserted
replaced
2787:298408833ec2 | 2788:4a05e67a8025 |
---|---|
416 """Set the nick of the user, usefull for e.g. change the color of the user""" | 416 """Set the nick of the user, usefull for e.g. change the color of the user""" |
417 self.nick = nick | 417 self.nick = nick |
418 | 418 |
419 def changeUserNick(self, old_nick, new_nick): | 419 def changeUserNick(self, old_nick, new_nick): |
420 """Change nick of a user in group list""" | 420 """Change nick of a user in group list""" |
421 self.printInfo("%s is now known as %s" % (old_nick, new_nick)) | 421 log.info("{old} is now known as {new} in room {room_jid}".format( |
422 old = old_nick, | |
423 new = new_nick, | |
424 room_jid = self.target)) | |
422 | 425 |
423 ## Messages ## | 426 ## Messages ## |
424 | 427 |
425 def manageMessage(self, entity, mess_type): | 428 def manageMessage(self, entity, mess_type): |
426 """Tell if this chat widget manage an entity and message type couple | 429 """Tell if this chat widget manage an entity and message type couple |