Fix remainders of old file transfer protocol.

This commit is contained in:
Juliusz Chroboczek
2024-10-28 15:52:59 +01:00
parent 99b09c0f19
commit 1c71a73f8e
+2 -2
View File
@@ -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,
});