fixed the discord end time stamp issue. fixes #282

This commit is contained in:
2024-01-07 15:42:00 +01:00
parent 5e82c18d8a
commit 5240f1eeeb
8 changed files with 54 additions and 15 deletions

View File

@@ -21,6 +21,7 @@ export const settingsStore = new Store({
discord: {
detailsPrefix: "Listening to ",
buttonText: "Play on Tidal",
includeTimestamps: true,
},
ListenBrainz: {
enabled: false,
@@ -61,6 +62,13 @@ export const settingsStore = new Store({
migrationStore.get(settings.ListenBrainz.delay) ?? 5000
);
},
"5.8.0": (migrationStore) => {
console.log("running migrations for 5.8.0");
migrationStore.set(
settings.discord.includeTimestamps,
migrationStore.get(settings.discord.includeTimestamps) ?? true
);
},
},
});