Skip to content

Commit 2829b6f

Browse files
committed
fix bug with server notification notice
1 parent 8ccd715 commit 2829b6f

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/components/servers/drawer/ServerDrawer.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,7 @@ import { Channel } from "@/chat-api/store/useChannels";
1818
import ItemContainer from "@/components/ui/LegacyItem";
1919
import { styled } from "solid-styled-components";
2020
import Text from "@/components/ui/Text";
21-
import {
22-
ChannelType,
23-
ServerNotificationPingMode,
24-
ServerNotificationSoundMode
25-
} from "@/chat-api/RawData";
21+
import { ChannelType, ServerNotificationPingMode } from "@/chat-api/RawData";
2622
import Icon from "@/components/ui/icon/Icon";
2723
import { FlexColumn, FlexRow } from "@/components/ui/Flexbox";
2824
import { CHANNEL_PERMISSIONS, ROLE_PERMISSIONS } from "@/chat-api/Bitwise";
@@ -569,7 +565,6 @@ function JoinedThisSessionNotificationNotice() {
569565
const handleSetToMentionsOnly = () => {
570566
dismiss();
571567
store.account.updateUserNotificationSettings({
572-
notificationSoundMode: ServerNotificationSoundMode.MENTIONS_ONLY,
573568
notificationPingMode: ServerNotificationPingMode.MENTIONS_ONLY,
574569
serverId: params.serverId
575570
});

0 commit comments

Comments
 (0)