From 2b70b57f32d9ac83ed2ec29145f4422779b010ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sch=C3=A4fer?= Date: Mon, 15 Oct 2018 21:56:34 +0200 Subject: JID.bare is always a str --- poezio/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'poezio/user.py') diff --git a/poezio/user.py b/poezio/user.py index 5d5d43c1..43832917 100644 --- a/poezio/user.py +++ b/poezio/user.py @@ -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 else: input_ = self.nick fg_color = colors.ccg_text_to_color(theme.ccg_palette, input_) -- cgit v1.2.3