From 76478f67be8fce324873694e63fb6f4e41affd13 Mon Sep 17 00:00:00 2001 From: Paul Date: Sat, 31 Jul 2021 17:00:50 +0100 Subject: [PATCH] Fix notifications not opening server. --- src/context/revoltjs/Notifications.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/context/revoltjs/Notifications.tsx b/src/context/revoltjs/Notifications.tsx index b21b6af1..c7a567a6 100644 --- a/src/context/revoltjs/Notifications.tsx +++ b/src/context/revoltjs/Notifications.tsx @@ -190,7 +190,7 @@ function Notifier({ options, notifs }: Props) { if (channel) { if (channel.channel_type === "TextChannel") { history.push( - `/server/${channel.server}/channel/${id}`, + `/server/${channel.server_id}/channel/${id}`, ); } else { history.push(`/channel/${id}`);