This commit is contained in:
parent
ee743ac327
commit
2d9ac3037e
|
@ -663,7 +663,7 @@ class Session(YowsupApp):
|
||||||
group = self.groups[room]
|
group = self.groups[room]
|
||||||
# Update nickname
|
# Update nickname
|
||||||
try:
|
try:
|
||||||
if defaultname != "" and group.participants[number].nick == number:
|
if defaultname != "" and group.participants[number] == number:
|
||||||
group.changeNick(number, defaultname)
|
group.changeNick(number, defaultname)
|
||||||
if self.buddies[number].nick != "":
|
if self.buddies[number].nick != "":
|
||||||
group.changeNick(number, self.buddies[number].nick)
|
group.changeNick(number, self.buddies[number].nick)
|
||||||
|
|
Loading…
Reference in a new issue