Only initiate WebRTC calls, not RedPhone calls.

// FREEBIE
This commit is contained in:
Matthew Chen 2017-03-22 12:50:46 -04:00
parent 814c6d2505
commit c6a280e005
2 changed files with 2 additions and 6 deletions

View file

@ -10,13 +10,10 @@ import Foundation
@objc class OutboundCallInitiator: NSObject {
let TAG = "[OutboundCallInitiator]"
let redphoneManager: PhoneManager
let contactsManager: OWSContactsManager
let contactsUpdater: ContactsUpdater
init(redphoneManager: PhoneManager, contactsManager: OWSContactsManager, contactsUpdater: ContactsUpdater) {
self.redphoneManager = redphoneManager
init(contactsManager: OWSContactsManager, contactsUpdater: ContactsUpdater) {
self.contactsManager = contactsManager
self.contactsUpdater = contactsUpdater

View file

@ -184,8 +184,7 @@ static Environment *environment = nil;
OWSAssert(self.phoneManager);
OWSAssert(self.contactsManager);
OWSAssert(self.contactsUpdater);
_outboundCallInitiator = [[OutboundCallInitiator alloc] initWithRedphoneManager:self.phoneManager
contactsManager:self.contactsManager
_outboundCallInitiator = [[OutboundCallInitiator alloc] initWithContactsManager:self.contactsManager
contactsUpdater:self.contactsUpdater];
}
}