1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-12 19:55:59 +01:00

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

View file

@ -1917,7 +1917,7 @@ TransferredFile.prototype.receive = async function() {
}; };
pc.onicecandidate = function(e) { pc.onicecandidate = function(e) {
f.sc.userMessage('filetransfer', f.userid, { f.sc.userMessage('filetransfer', f.userid, {
type: 'downice', type: 'ice',
id: f.id, id: f.id,
candidate: e.candidate, candidate: e.candidate,
}); });
@ -1973,7 +1973,7 @@ TransferredFile.prototype.answer = async function(sdp) {
f.candidates = []; f.candidates = [];
pc.onicecandidate = function(e) { pc.onicecandidate = function(e) {
f.sc.userMessage('filetransfer', f.userid, { f.sc.userMessage('filetransfer', f.userid, {
type: 'upice', type: 'ice',
id: f.id, id: f.id,
candidate: e.candidate, candidate: e.candidate,
}); });