emit added

This commit is contained in:
TeamAbronDev
2025-01-27 16:14:52 +03:30
parent 4dfaa43c15
commit 6f622a9a88
3 changed files with 24 additions and 33 deletions

View File

@@ -100,7 +100,7 @@ export const Channel = observer(
const client = useClient();
const state = useApplicationState();
if (!client.channels.exists(id) && server_id) {
if (!client.channels.get(id)) {
if (server_id) {
const server = client.servers.get(server_id);
if (server && server.channel_ids.length > 0) {