Fix Discord activity display

This commit is contained in:
MysterD 2022-03-02 18:25:53 -08:00
parent c75bd02837
commit 6783ef0b7f

View file

@ -78,7 +78,6 @@ void discord_activity_update(bool hosting) {
gCurActivity.party.size.max_size = 1;
}
if (gCurActivity.details[0] == '\0') {
snprintf(gCurActivity.details, 128, "%s", get_version());
bool displayDash = true;
@ -114,8 +113,6 @@ void discord_activity_update(bool hosting) {
}
}
}
app.activities->update_activity(app.activities, &gCurActivity, NULL, on_activity_update_callback);
LOGFILE_INFO(LFT_DISCORD, "set activity");
}