summaryrefslogtreecommitdiff
path: root/poezio/user.py
diff options
context:
space:
mode:
Diffstat (limited to 'poezio/user.py')
-rw-r--r--poezio/user.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/poezio/user.py b/poezio/user.py
index c69d241c..ae70f6f8 100644
--- a/poezio/user.py
+++ b/poezio/user.py
@@ -56,8 +56,7 @@ class User(object):
if theme.ccg_palette:
# use XEP-0392 CCG
fg_color = colors.ccg_text_to_color(
- theme.ccg_palette, self.jid.bare
- if self.jid and self.jid.bare else self.nick)
+ theme.ccg_palette, self.nick)
self.color = fg_color, -1
else:
mod = len(theme.LIST_COLOR_NICKNAMES)