bug-open closed dms

This commit is contained in:
TeamAbronDev
2025-01-04 10:14:40 +03:30
parent ed6e0f3fbe
commit f1f51d4d7b

View File

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