mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 09:25:27 +00:00
Fix elements not observing permissions.
This commit is contained in:
@@ -30,7 +30,7 @@ export default function ChannelSettings() {
|
||||
switch (channel?.channel_type) {
|
||||
case "TextChannel":
|
||||
case "VoiceChannel":
|
||||
base_url = `/server/${channel.server}/channel/${cid}/settings`;
|
||||
base_url = `/server/${channel.server_id}/channel/${cid}/settings`;
|
||||
break;
|
||||
default:
|
||||
base_url = `/channel/${cid}/settings`;
|
||||
|
||||
Reference in New Issue
Block a user