forked from abner/for-legacy-web
Fix notifications not opening server.
This commit is contained in:
1 parent
9bb9d1fa1e
commit
76478f67be
1 file changed
+1
-1
@@ -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}`);
|
||||
|
||||
Reference in new issue
Block a user