moyamo 2016-01-05 15:46:32 +02:00
parent ee743ac327
commit 2d9ac3037e

View file

@ -663,7 +663,7 @@ class Session(YowsupApp):
group = self.groups[room]
# Update nickname
try:
if defaultname != "" and group.participants[number].nick == number:
if defaultname != "" and group.participants[number] == number:
group.changeNick(number, defaultname)
if self.buddies[number].nick != "":
group.changeNick(number, self.buddies[number].nick)