From 230a314af5209ec414d7fbaa252e1ce7c983f030 Mon Sep 17 00:00:00 2001 From: SamTV12345 <40429738+samtv12345@users.noreply.github.com> Date: Tue, 24 Dec 2024 10:44:49 +0100 Subject: [PATCH] Migrated to socket io v4 --- static/js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/index.js b/static/js/index.js index e1f40fc9..6e7b0873 100644 --- a/static/js/index.js +++ b/static/js/index.js @@ -1208,7 +1208,7 @@ exports.rtc = new class { type: 'STATS', data: {statName, type: 'RTC_MESSAGE'}, }; - this._pad.socket.json.send(msg); + this._pad.socket.emit('message', msg); } sendMessage(to, data) {