Fix Discord activity display
This commit is contained in:
parent
c75bd02837
commit
6783ef0b7f
|
@ -78,7 +78,6 @@ void discord_activity_update(bool hosting) {
|
||||||
gCurActivity.party.size.max_size = 1;
|
gCurActivity.party.size.max_size = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (gCurActivity.details[0] == '\0') {
|
|
||||||
snprintf(gCurActivity.details, 128, "%s", get_version());
|
snprintf(gCurActivity.details, 128, "%s", get_version());
|
||||||
|
|
||||||
bool displayDash = true;
|
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);
|
app.activities->update_activity(app.activities, &gCurActivity, NULL, on_activity_update_callback);
|
||||||
LOGFILE_INFO(LFT_DISCORD, "set activity");
|
LOGFILE_INFO(LFT_DISCORD, "set activity");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue