setPresenceStatus status_msg defaults to null #79
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
If an undefined
status_msg
is passed to setPresenceStatus,status_msg
defaults tonull
which gets literally sent to the server, leading to anM_UNKNOWN status_msg must be a string.
status_msg
should default toundefined
to be omitted from the JSON entirely.Ref: matrix-org/matrix-appservice-discord#591
The text was updated successfully, but these errors were encountered: