Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Commit

Permalink
Merge pull request #36 from Tustin/development
Browse files Browse the repository at this point in the history
more tired programming mistakes >.>
  • Loading branch information
Tustin authored Feb 20, 2019
2 parents d54815b + dfcc9a4 commit c92de1f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,11 @@ function updateRichPresence() : void

log.info('DiscordController stopped because the user is not online on PlayStation');
}

// Just update the form like this so we don't update rich presence.
mainWindow.webContents.send('presence-data', {
details: 'Offline'
});
}
else if (profile.primaryOnlineStatus === 'online')
{
Expand Down Expand Up @@ -377,11 +382,6 @@ function updateRichPresence() : void
log.error('Failed updating rich presence', err);
});
}

// Just update the form like this so we don't update rich presence.
mainWindow.webContents.send('presence-data', {
details: 'Offline'
});
}

mainWindow.webContents.send('profile-data', profile);
Expand Down

0 comments on commit c92de1f

Please sign in to comment.