いいかんじ

This commit is contained in:
mattyatea 2023-09-29 23:18:18 +09:00
parent 7dbbfb657c
commit 582a6948e5
88 changed files with 1215 additions and 552 deletions

View file

@ -65,9 +65,7 @@ const dev = _DEV_;
let notifications = $ref<Misskey.entities.Notification[]>([]);
function onNotification(notification: Misskey.entities.Notification, isClient: boolean = false) {
if ($i.mutingNotificationTypes.includes(notification.type)) return;
function onNotification(notification: Misskey.entities.Notification, isClient = false) {
if (document.visibilityState === 'visible') {
if (!isClient) {
useStream().send('readNotification');