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
{{ message }}
This repository was archived by the owner on Apr 8, 2019. It is now read-only.
Calling DiscordRpc.updatePresence(DiscordRichPresence) on a presence that has neither details nor state has no effect. Indeed, if these properties are not set (or empty) then Discord is not updated.
Since Discord's developer documentation seems to indicate that all fields are optional when updating a presence, I assume that it is a bug related to this implementation.
I can reproduce the bug by taking the example SimpleGame.java and commenting one of the lines that set the details or the state (on lines 91, 92).
Does someone have an idea about how to resolve this issue ? I'm on Windows, by the way.
Hi !
Calling
DiscordRpc.updatePresence(DiscordRichPresence)on a presence that has neither details nor state has no effect. Indeed, if these properties are not set (or empty) then Discord is not updated.Since Discord's developer documentation seems to indicate that all fields are optional when updating a presence, I assume that it is a bug related to this implementation.
I can reproduce the bug by taking the example SimpleGame.java and commenting one of the lines that set the details or the state (on lines 91, 92).
Does someone have an idea about how to resolve this issue ? I'm on Windows, by the way.