mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-06 17:11:55 +00:00
Fix message links redirecting to home page.
This commit is contained in:
@@ -179,7 +179,7 @@ export function MessageArea({ id }: Props) {
|
||||
|
||||
const channel = client.channels.get(id);
|
||||
if (channel?.channel_type === "TextChannel") {
|
||||
history.push(`/server/${channel.server}/channel/${id}`);
|
||||
history.push(`/server/${channel.server_id}/channel/${id}`);
|
||||
} else {
|
||||
history.push(`/channel/${id}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user