summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-05-19 23:53:20 +0200
committermathieui <mathieui@mathieui.net>2014-05-19 23:53:20 +0200
commit2ec83f3412b69a78f1b0331dedd40f09be5709d8 (patch)
tree4fbea3db9c40965980fada983028e346e6855abf
parente06a06c232d953671ae4a94a8429881c31857478 (diff)
downloadpoezio-2ec83f3412b69a78f1b0331dedd40f09be5709d8.tar.gz
poezio-2ec83f3412b69a78f1b0331dedd40f09be5709d8.tar.bz2
poezio-2ec83f3412b69a78f1b0331dedd40f09be5709d8.tar.xz
poezio-2ec83f3412b69a78f1b0331dedd40f09be5709d8.zip
Fix a wrong nick displayed in privatetab (our default one instead of the muc one)
-rw-r--r--src/tabs/privatetab.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tabs/privatetab.py b/src/tabs/privatetab.py
index b68225cf..c1e8c8e5 100644
--- a/src/tabs/privatetab.py
+++ b/src/tabs/privatetab.py
@@ -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'],