mirror of
https://github.com/yuzu-emu/discord-rpc.git
synced 2024-12-02 19:14:13 +01:00
copy-n-paste bug
This commit is contained in:
parent
5882823830
commit
e07806424b
@ -123,7 +123,7 @@ size_t JsonWriteRichPresenceObj(char* dest,
|
|||||||
|
|
||||||
if ((presence->matchSecret && presence->matchSecret[0]) ||
|
if ((presence->matchSecret && presence->matchSecret[0]) ||
|
||||||
(presence->joinSecret && presence->joinSecret[0]) ||
|
(presence->joinSecret && presence->joinSecret[0]) ||
|
||||||
(presence->spectateSecret && presence->joinSecret[0])) {
|
(presence->spectateSecret && presence->spectateSecret[0])) {
|
||||||
WriteObject secrets(writer, "secrets");
|
WriteObject secrets(writer, "secrets");
|
||||||
WriteOptionalString(writer, "match", presence->matchSecret);
|
WriteOptionalString(writer, "match", presence->matchSecret);
|
||||||
WriteOptionalString(writer, "join", presence->joinSecret);
|
WriteOptionalString(writer, "join", presence->joinSecret);
|
||||||
|
Loading…
Reference in New Issue
Block a user