Skip to content

Commit 37bed9a

Browse files
committed
fix bug
1 parent a7f298b commit 37bed9a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/common/useDiscordActivityTracker.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,10 @@ export const useDiscordActivityTracker = () => {
121121
return {
122122
id: activity.syncId || activity.applicationId || NERIMITY_APP_ID,
123123
data: {
124-
startedAt: activity.timestamps?.start || undefined,
124+
startedAt:
125+
activity.timestamps?.start ||
126+
activity.createdTimestamp ||
127+
undefined,
125128
endsAt: activity.timestamps?.end || undefined,
126129
imgSrc:
127130
activity.assets?.largeImageUrl ||

0 commit comments

Comments
 (0)