diff options
author | Jonas Schäfer <j.wielicki@sotecware.net> | 2018-10-15 21:56:34 +0200 |
---|---|---|
committer | Jonas Schäfer <j.wielicki@sotecware.net> | 2018-10-15 21:56:34 +0200 |
commit | 2b70b57f32d9ac83ed2ec29145f4422779b010ff (patch) | |
tree | cc4293f91a35918ac05fc0a7802f243192630877 | |
parent | 348aabc290850ef6c1b7f5a921b49272cbee85a8 (diff) | |
download | poezio-2b70b57f32d9ac83ed2ec29145f4422779b010ff.tar.gz poezio-2b70b57f32d9ac83ed2ec29145f4422779b010ff.tar.bz2 poezio-2b70b57f32d9ac83ed2ec29145f4422779b010ff.tar.xz poezio-2b70b57f32d9ac83ed2ec29145f4422779b010ff.zip |
JID.bare is always a str
-rw-r--r-- | poezio/user.py | 2 |
1 files changed, 1 insertions, 1 deletions
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_) |