Fix notifications not opening server.
parent
9bb9d1fa1e
commit
76478f67be
|
|
@ -190,7 +190,7 @@ function Notifier({ options, notifs }: Props) {
|
||||||
if (channel) {
|
if (channel) {
|
||||||
if (channel.channel_type === "TextChannel") {
|
if (channel.channel_type === "TextChannel") {
|
||||||
history.push(
|
history.push(
|
||||||
`/server/${channel.server}/channel/${id}`,
|
`/server/${channel.server_id}/channel/${id}`,
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
history.push(`/channel/${id}`);
|
history.push(`/channel/${id}`);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue