This commit is contained in:
marlon-erler
2024-07-09 18:44:32 +02:00
parent c15ead428e
commit 6e040105f1
+1 -1
View File
@@ -104,7 +104,7 @@ export class Chat {
onmessage = async (data: Message): Promise<void> => {
if (!data.messageChannel) return;
const channels = data.messageChannel.split("/");
if (!this.primaryChannel.value in channels) return;
if (this.primaryChannel.value in channels == false) return;
if (data.subscribed != undefined) this.handleSubscription(data.subscribed);