Fix the case when we receive an unavailable presence while joining
This commit is contained in:
parent
057f7ac9f5
commit
5f5cc186dc
1 changed files with 2 additions and 0 deletions
|
@ -465,6 +465,8 @@ class MucTab(ChatTab):
|
|||
"""
|
||||
from_nick, _, affiliation, show, status, role, jid, typ = dissect_presence(
|
||||
presence)
|
||||
if typ == 'unavailable':
|
||||
return
|
||||
user_color = self.search_for_color(from_nick)
|
||||
new_user = User(from_nick, affiliation, show, status, role, jid,
|
||||
deterministic, user_color)
|
||||
|
|
Loading…
Reference in a new issue