mirror of
https://github.com/stoatchat/javascript-client-sdk.git
synced 2026-07-20 20:16:06 -04:00
bug: Focus isn't allowed in api.patch "/users/@me" #18
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Sep 30, 2022).
What happened?
So apparently the focus presence isn't defined in the api.patch function, returning a typeerror since it doesn't match
"Online" | "Idle" | "Busy" | "Invisible" | undefined | null.But when testing, It does indeed change the status to Focus.
@ghost commented on GitHub (Sep 30, 2022):
I made the issue into the wrong repo, check https://github.com/revoltchat/api/issues/24 for the issue