Commit b86c5afa authored by Philipp Hörist's avatar Philipp Hörist

Unpack colors correctly

parent de982e96
......@@ -623,7 +623,7 @@ def find_widget(name, container):
@lru_cache(maxsize=1024)
def generate_avatar(letters, color, size, scale):
# Get color for nickname with XEP-0392
color_r, color_b, color_g = color
color_r, color_g, color_b = color
# Set up colors and size
if scale is not None:
......
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