mirror of
https://github.com/jech/galene.git
synced 2024-11-13 20:25:57 +01:00
Fix remainders of old file transfer protocol.
This commit is contained in:
parent
99b09c0f19
commit
1c71a73f8e
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue