mirror of https://gitlab.com/litecord/litecord.git
Compare commits
3 Commits
5f97103e1c
...
3c815cf872
| Author | SHA1 | Date |
|---|---|---|
|
|
3c815cf872 | |
|
|
5e50ca4356 | |
|
|
93c0df5b43 |
|
|
@ -189,6 +189,8 @@ class StatusType(EasyEnum):
|
||||||
IDLE = "idle"
|
IDLE = "idle"
|
||||||
INVISIBLE = "invisible"
|
INVISIBLE = "invisible"
|
||||||
OFFLINE = "offline"
|
OFFLINE = "offline"
|
||||||
|
STREAMING = "streaming"
|
||||||
|
UNKNOWN = "unknown"
|
||||||
|
|
||||||
|
|
||||||
class ExplicitFilter(EasyEnum):
|
class ExplicitFilter(EasyEnum):
|
||||||
|
|
|
||||||
|
|
@ -710,7 +710,7 @@ class GatewayWebsocket:
|
||||||
|
|
||||||
presence.game = game
|
presence.game = game
|
||||||
|
|
||||||
if presence.status == "invisible":
|
if presence.status in ("invisible", "unknown"):
|
||||||
presence.status = "offline"
|
presence.status = "offline"
|
||||||
|
|
||||||
self.state.presence = presence
|
self.state.presence = presence
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue