From 0164bf35a017918edd0a351a3091d9f1c3437e18 Mon Sep 17 00:00:00 2001 From: Chewbacca Date: Thu, 10 Nov 2022 16:07:00 -0500 Subject: [PATCH] Temporarily disable sounds --- app/soapbox/actions/streaming.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/soapbox/actions/streaming.ts b/app/soapbox/actions/streaming.ts index d82b79961..7ebe32a88 100644 --- a/app/soapbox/actions/streaming.ts +++ b/app/soapbox/actions/streaming.ts @@ -6,7 +6,7 @@ import { normalizeChatMessage } from 'soapbox/normalizers'; import { ChatKeys, IChat, isLastMessage } from 'soapbox/queries/chats'; import { queryClient } from 'soapbox/queries/client'; import { updatePageItem, appendPageItem, removePageItem, flattenPages, PaginatedResult, sortQueryData } from 'soapbox/utils/queries'; -import { play, soundCache } from 'soapbox/utils/sounds'; +// import { play, soundCache } from 'soapbox/utils/sounds'; import { connectStream } from '../stream'; @@ -172,7 +172,8 @@ const connectTimelineStream = ( // Don't update own messages from streaming if (!messageOwned) { updateChat(chat); - play(soundCache.chat); + // Temp disable until we support disabling/enabling. + // play(soundCache.chat); } }); break;