From a73ade90c1ba415058a5ade1699b154f394e7dbb Mon Sep 17 00:00:00 2001 From: Chewbacca Date: Mon, 5 Dec 2022 15:41:01 -0500 Subject: [PATCH] Change websocket event name --- app/soapbox/actions/notifications.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/soapbox/actions/notifications.ts b/app/soapbox/actions/notifications.ts index 93908f7bb..6ac655143 100644 --- a/app/soapbox/actions/notifications.ts +++ b/app/soapbox/actions/notifications.ts @@ -89,7 +89,7 @@ const updateNotificationsQueue = (notification: APIEntity, intlMessages: Record< (dispatch: AppDispatch, getState: () => RootState) => { if (!notification.type) return; // drop invalid notifications if (notification.type === 'pleroma:chat_mention') return; // Drop chat notifications, handle them per-chat - if (notification.type === 'chat_message.created') return; // Drop Truth Social chat notifications. + if (notification.type === 'chat') return; // Drop Truth Social chat notifications. const showAlert = getSettings(getState()).getIn(['notifications', 'alerts', notification.type]); const filters = getFilters(getState(), { contextType: 'notifications' });