Fix settings toggles for discord
This commit is contained in:
parent
6480e6ad1e
commit
b57fe0f3ac
4 changed files with 33 additions and 18 deletions
|
@ -205,7 +205,7 @@ const CiderBase = {
|
|||
mpris.connect(win)
|
||||
|
||||
// Discord
|
||||
discord.connect('911790844204437504');
|
||||
discord.connect((app.cfg.get("general.discord_rpc") == 1) ? '911790844204437504' : '886578863147192350');
|
||||
ipcMain.on('playbackStateDidChange', (_event, a) => {
|
||||
discord.updateActivity(a)
|
||||
mpris.updateState(a)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue