Remove international prexif updates when registering

This commit is contained in:
QuentinArguillere 2024-09-09 17:19:49 +02:00
parent 6478fbf03e
commit ae4dcda49b

View file

@ -211,12 +211,6 @@ final class CoreContext: ObservableObject {
switch(cbVal.state) {
case .Ok:
let newParams = cbVal.account.params?.clone()
newParams?.internationalPrefix = "33"
newParams?.internationalPrefixIsoCountryCode = "FRA"
newParams?.useInternationalPrefixForCallsAndChats = true
cbVal.account.params = newParams
ContactsManager.shared.fetchContacts()
if self.mCore.consolidatedPresence != ConsolidatedPresence.Online {
self.updatePresence(core: self.mCore, presence: ConsolidatedPresence.Online)