Commit 02ff050f authored by Andreas Traczyk's avatar Andreas Traczyk

vcard: send vcard on main thread

Change-Id: I19374403a875b0863a58788357120229458ae913
parent 6001030e
......@@ -208,10 +208,12 @@ class CallsService: CallsAdapterDelegate {
VCardUtils.loadVCard(named: VCardFiles.myProfile.rawValue,
inFolder: VCardFolders.profile.rawValue)
.subscribe(onSuccess: { [unowned self] card in
VCardUtils.sendVCard(card: card,
callID: callID,
accountID: accountID,
sender: self)
DispatchQueue.main.async {
VCardUtils.sendVCard(card: card,
callID: callID,
accountID: accountID,
sender: self)
}
}).disposed(by: disposeBag)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment