Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
feat(web): use pauseAnonViews preference for anon view notifications
Richie McIlroy883bbf81bb11
diff --git a/apps/web/lib/Notification.ts b/apps/web/lib/Notification.tsindex 8c6b1a7e6..962026c00 100644--- a/apps/web/lib/Notification.ts+++ b/apps/web/lib/Notification.ts@@ -276,7 +276,7 @@ export async function createAnonymousViewNotification({if (!videoWithOwner?.activeOrganizationId) return;const preferences = videoWithOwner.preferences as UserPreferences;- if (preferences?.notifications?.pauseViews) return;+ if (preferences?.notifications?.pauseAnonViews) return;const [recentNotificationCount] = await database.select({ count: sql<number>`COUNT(*)` })