You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using 1.12.5 (will try upgrade - just need to upgrade the all the code first)
gateway - received exception [Error in $: Error in $.activities[0].buttons[0]: parsing ActivityButton failed, expected Object, but encountered String] while decoding:
I can see what the issue is, it's exactly as described; when sending a presence update, we need it to be an object of a label and a string, but when receiving it will just be a string. It's a simple thing to fix with a plaster but it'll require a bit more thinking to get a satisfying solution; will probably need different types for sending and receiving.
The issue with that in my eyes is that it doesn't ensure what type you'll get on either the receiving end or what you can send; a library user should know that they can only receive one type, and they can only send the other. Not sure that we do this anywhere else though...
Using 1.12.5 (will try upgrade - just need to upgrade the all the code first)
gateway - received exception [Error in $: Error in $.activities[0].buttons[0]: parsing ActivityButton failed, expected Object, but encountered String] while decoding
:(I've redacted the sensitive values of a user).
The text was updated successfully, but these errors were encountered: