Revert "Add option to hide timestamp in RPC"
This commit is contained in:
parent
1c63d2ef7c
commit
6cca7c4e1d
6 changed files with 2 additions and 17 deletions
|
@ -183,8 +183,8 @@ export default class DiscordRPC {
|
|||
] //To change attributes.url => preload/cider-preload.js
|
||||
}
|
||||
|
||||
// Add the timestamp if its playing and people want them
|
||||
if (!this._utils.getStoreValue("general.discordrpc.hide_timestamp") && attributes.status) {
|
||||
// Add the timestamp if its playing
|
||||
if (attributes.status) {
|
||||
activity.startTimestamp = Date.now() - (attributes?.durationInMillis - attributes?.remainingTime)
|
||||
activity.endTimestamp = attributes.endTime
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue