Skip to content

Commit

Permalink
Remove rooms sound from notes
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbroman committed Aug 3, 2023
1 parent e1d36ad commit b0ef470
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { TextInput } from '@holium/design-system/inputs';
import { useToggle } from '@holium/design-system/util';

import { useRoomsStore } from 'renderer/apps/Rooms/store/RoomsStoreContext';
import { useSound } from 'renderer/lib/sound';
import { useAppState } from 'renderer/stores/app.store';
import { useShipStore } from 'renderer/stores/ship.store';

Expand All @@ -25,7 +24,6 @@ const NotesSidebarPresenter = () => {
const { loggedInAccount } = useAppState();
const { notesStore, spacesStore } = useShipStore();
const roomsStore = useRoomsStore();
const sound = useSound();

const {
sortedPersonalNotes,
Expand Down Expand Up @@ -89,7 +87,6 @@ const NotesSidebarPresenter = () => {
);
await roomsStore.joinRoom(newRoomRid);
}
sound.playRoomEnter();

// In Notes rooms everyone should be muted by default.
roomsStore.ourPeer.mute();
Expand Down

0 comments on commit b0ef470

Please sign in to comment.