Skip to content

Commit

Permalink
Migrated to socket io v4
Browse files Browse the repository at this point in the history
  • Loading branch information
SamTV12345 committed Dec 24, 2024
1 parent f84432a commit 230a314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 230a314

Please sign in to comment.