Temporarily disable sounds

environments/review-chats-g56n7m/deployments/1347
Chewbacca 2 years ago
parent 93a696a72f
commit 0164bf35a0

@ -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;

Loading…
Cancel
Save