about summary refs log tree commit diff
path: root/src/lib/hooks/useNotificationHandler.ts
diff options
context:
space:
mode:
authorhailey <me@haileyok.com>2025-05-30 12:13:44 -0700
committerGitHub <noreply@github.com>2025-05-30 12:13:44 -0700
commit2a453cd9cac811da0eb7c802489c6e4bcfe4bd78 (patch)
treed99037b247dca600dfe7f3d39146d1b046d88742 /src/lib/hooks/useNotificationHandler.ts
parent4890648116e255ed28c5ae0522a53278a6c35a39 (diff)
downloadvoidsky-2a453cd9cac811da0eb7c802489c6e4bcfe4bd78.tar.zst
invert flag for sending to statsig (#8431)
Diffstat (limited to 'src/lib/hooks/useNotificationHandler.ts')
-rw-r--r--src/lib/hooks/useNotificationHandler.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/hooks/useNotificationHandler.ts b/src/lib/hooks/useNotificationHandler.ts
index f7cb6bae6..b1bfe6018 100644
--- a/src/lib/hooks/useNotificationHandler.ts
+++ b/src/lib/hooks/useNotificationHandler.ts
@@ -248,7 +248,11 @@ export function useNotificationsHandler() {
             'User pressed a notification, opening notifications tab',
             {},
           )
-          logger.metric('notifications:openApp', {reason: payload.reason})
+          logger.metric(
+            'notifications:openApp',
+            {reason: payload.reason},
+            {statsig: false},
+          )
 
           invalidateCachedUnreadPage()
           truncateAndInvalidate(queryClient, RQKEY_NOTIFS('all'))