Unverified Commit 5f5cc186 authored by mathieui's avatar mathieui
Browse files

Fix the case when we receive an unavailable presence while joining

parent 057f7ac9
......@@ -465,6 +465,8 @@ class MucTab(ChatTab):
from_nick, _, affiliation, show, status, role, jid, typ = dissect_presence(
if typ == 'unavailable':
user_color = self.search_for_color(from_nick)
new_user = User(from_nick, affiliation, show, status, role, jid,
deterministic, user_color)
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