Fix a wrong nick displayed in privatetab (our default one instead of the muc one)

This commit is contained in:
mathieui 2014-05-19 23:53:20 +02:00
parent e06a06c232
commit 2ec83f3412

View file

@ -166,7 +166,7 @@ class PrivateTab(OneToOneTab):
return
if not replaced:
self.add_message(msg['body'],
nickname=self.core.own_nick or self.own_nick,
nickname=self.own_nick or self.core.own_nick,
forced_user=user,
nick_color=get_theme().COLOR_OWN_NICK,
identifier=msg['id'],