diff --git a/src/components/messaging/Chat.tsx b/src/components/messaging/Chat.tsx index a7300cf..d9be2ac 100644 --- a/src/components/messaging/Chat.tsx +++ b/src/components/messaging/Chat.tsx @@ -114,6 +114,22 @@ function Chat() { ); } + if (!activeChannel.hasPermission("VIEW_CHANNEL")) { + return ( + + + You do not have permission to view this channel + + + ); + } + return (