mirror of https://gitlab.com/litecord/litecord.git
Compare commits
No commits in common. "3c815cf872505da198ba4a4ad9857858a75f42f7" and "5f97103e1cbacd66aed99de90a15d1dc7a457725" have entirely different histories.
3c815cf872
...
5f97103e1c
|
|
@ -189,8 +189,6 @@ class StatusType(EasyEnum):
|
|||
IDLE = "idle"
|
||||
INVISIBLE = "invisible"
|
||||
OFFLINE = "offline"
|
||||
STREAMING = "streaming"
|
||||
UNKNOWN = "unknown"
|
||||
|
||||
|
||||
class ExplicitFilter(EasyEnum):
|
||||
|
|
|
|||
|
|
@ -710,7 +710,7 @@ class GatewayWebsocket:
|
|||
|
||||
presence.game = game
|
||||
|
||||
if presence.status in ("invisible", "unknown"):
|
||||
if presence.status == "invisible":
|
||||
presence.status = "offline"
|
||||
|
||||
self.state.presence = presence
|
||||
|
|
|
|||
Loading…
Reference in New Issue