Fix message links from replies.

This commit is contained in:
Paul 2021-07-31 13:50:29 +01:00
parent 6b6279ffee
commit 5eed9ecc5e

View file

@ -175,7 +175,7 @@ export const MessageReply = observer(({ index, channel, id }: Props) => {
channel.channel_type === "TextChannel"
) {
history.push(
`/server/${channel.server}/channel/${channel._id}/${message._id}`,
`/server/${channel.server_id}/channel/${channel._id}/${message._id}`,
);
} else {
history.push(