Upgrade to RingRTC v2.4.0

This commit is contained in:
Jim Gustafson 2020-07-29 09:29:57 -07:00 committed by Scott Nonnenberg
parent 7ef5dc6401
commit 2f015863ca
6 changed files with 28 additions and 16 deletions

View file

@ -396,7 +396,7 @@ export class CallingClass {
const shouldRelayCalls = Boolean(await window.getAlwaysRelayCalls());
// If the peer is 'unknown', i.e. not in the contact list, force IP hiding.
const isContactUnknown = !conversation.getIsAddedByContact();
const isContactUnknown = !conversation.isFromOrAddedByTrustedContact();
return {
iceServer: JSON.parse(iceServerJson),