Change websocket event name

environments/review-chats-g56n7m/deployments/1665
Chewbacca 2 years ago
parent 0bed4d5f31
commit a73ade90c1

@ -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' });

Loading…
Cancel
Save