remove debug logging

This commit is contained in:
Bruno Windels 2023-02-07 14:58:32 +01:00
parent 5f4ad30d03
commit e39dd176a4

View File

@ -372,6 +372,7 @@ export class Member {
} }
if (action === IncomingMessageAction.Handle) { if (action === IncomingMessageAction.Handle) {
const idx = sortedIndex(connection.queuedSignallingMessages, message, (a, b) => a.content.seq - b.content.seq); const idx = sortedIndex(connection.queuedSignallingMessages, message, (a, b) => a.content.seq - b.content.seq);
console.log(`splice ${message.type} at ${idx}`);
connection.queuedSignallingMessages.splice(idx, 0, message); connection.queuedSignallingMessages.splice(idx, 0, message);
if (connection.peerCall) { if (connection.peerCall) {
const hasNewMessageBeenDequeued = this.dequeueSignallingMessages(connection, connection.peerCall, message, syncLog); const hasNewMessageBeenDequeued = this.dequeueSignallingMessages(connection, connection.peerCall, message, syncLog);