mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-21 14:40:58 -05:00
Fix notifications not opening server.
This commit is contained in:
parent
9bb9d1fa1e
commit
76478f67be
1 changed files with 1 additions and 1 deletions
|
@ -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}`);
|
||||
|
|
Loading…
Reference in a new issue