From 1c71a73f8e4693aa1ac1fe50b20a91ff16d4b5c1 Mon Sep 17 00:00:00 2001 From: Juliusz Chroboczek Date: Mon, 28 Oct 2024 15:52:59 +0100 Subject: [PATCH] Fix remainders of old file transfer protocol. --- static/protocol.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/protocol.js b/static/protocol.js index 67fb68e..669ed42 100644 --- a/static/protocol.js +++ b/static/protocol.js @@ -1917,7 +1917,7 @@ TransferredFile.prototype.receive = async function() { }; pc.onicecandidate = function(e) { f.sc.userMessage('filetransfer', f.userid, { - type: 'downice', + type: 'ice', id: f.id, candidate: e.candidate, }); @@ -1973,7 +1973,7 @@ TransferredFile.prototype.answer = async function(sdp) { f.candidates = []; pc.onicecandidate = function(e) { f.sc.userMessage('filetransfer', f.userid, { - type: 'upice', + type: 'ice', id: f.id, candidate: e.candidate, });