Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/RTCSession.js
Original file line number Diff line number Diff line change
Expand Up @@ -2314,7 +2314,9 @@
options.extraHeaders.push(`Replaces: ${replaces}`);
}

session.connect(request.refer_to.uri, options, initCallback);
let target_uri = request.refer_to.uri.clone();

Check failure on line 2317 in src/RTCSession.js

View workflow job for this annotation

GitHub Actions / ci (ubuntu-22.04, 20)

'target_uri' is never reassigned. Use 'const' instead

Check failure on line 2317 in src/RTCSession.js

View workflow job for this annotation

GitHub Actions / ci (ubuntu-22.04, 20)

Expected blank line after variable declarations

Check failure on line 2317 in src/RTCSession.js

View workflow job for this annotation

GitHub Actions / ci (ubuntu-24.04, 22)

'target_uri' is never reassigned. Use 'const' instead

Check failure on line 2317 in src/RTCSession.js

View workflow job for this annotation

GitHub Actions / ci (ubuntu-24.04, 22)

Expected blank line after variable declarations

Check failure on line 2317 in src/RTCSession.js

View workflow job for this annotation

GitHub Actions / ci (ubuntu-24.04, 24)

'target_uri' is never reassigned. Use 'const' instead

Check failure on line 2317 in src/RTCSession.js

View workflow job for this annotation

GitHub Actions / ci (ubuntu-24.04, 24)

Expected blank line after variable declarations
target_uri.clearHeaders();
session.connect(target_uri, options, initCallback);
}

function reject() {
Expand Down
Loading