Commit 2b70b57f authored by Jonas Schäfer's avatar Jonas Schäfer

JID.bare is always a str

parent 348aabc2
......@@ -60,7 +60,7 @@ class User:
if theme.ccg_palette:
# use XEP-0392 CCG
if self.jid and self.jid.domain:
input_ = str(self.jid.bare)
input_ = self.jid.bare
input_ = self.nick
fg_color = colors.ccg_text_to_color(theme.ccg_palette, input_)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment