quick_frontend, primivitus: remove QuickChat.getUserNick + primivitus ChatText gets the user nick directly from parent Chat instance

This commit is contained in:
souliane 2015-03-23 15:38:32 +01:00
commit 5c1fe63580

View file

@ -114,9 +114,6 @@ class QuickChat(quick_widgets.QuickWidget):
"""Set the nick of the user, usefull for e.g. change the color of the user"""
self.nick = nick
def getUserNick(self):
return unicode(self.nick)
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))