mirror of https://gitlab.com/litecord/litecord.git
gateway: cast unknown status to offline
This commit is contained in:
parent
5e50ca4356
commit
3c815cf872
|
|
@ -710,7 +710,7 @@ class GatewayWebsocket:
|
|||
|
||||
presence.game = game
|
||||
|
||||
if presence.status == "invisible":
|
||||
if presence.status in ("invisible", "unknown"):
|
||||
presence.status = "offline"
|
||||
|
||||
self.state.presence = presence
|
||||
|
|
|
|||
Loading…
Reference in New Issue