Merge remote-tracking branch 'misskey/develop' into future-2024-04-10
This commit is contained in:
commit
a3b4ca782a
78 changed files with 3068 additions and 2243 deletions
|
@ -76,7 +76,7 @@ globalThis.addEventListener('push', ev => {
|
|||
case 'notification':
|
||||
case 'unreadAntennaNote':
|
||||
// 1日以上経過している場合は無視
|
||||
if ((new Date()).getTime() - data.dateTime > 1000 * 60 * 60 * 24) break;
|
||||
if (Date.now() - data.dateTime > 1000 * 60 * 60 * 24) break;
|
||||
|
||||
return createNotification(data);
|
||||
case 'readAllNotifications':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue