From 08b68abb57c3de814b196c3effc1f3bb9f33d2d8 Mon Sep 17 00:00:00 2001 From: Jazz Alyxzander Turner-Baggs Date: Tue, 6 May 2014 23:04:14 -0300 Subject: [PATCH] properly update callerid for incoming calls --- Signal/src/phone/PhoneManager.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Signal/src/phone/PhoneManager.m b/Signal/src/phone/PhoneManager.m index a63200d69..5be92b525 100644 --- a/Signal/src/phone/PhoneManager.m +++ b/Signal/src/phone/PhoneManager.m @@ -97,9 +97,11 @@ return; } + Contact* callingContact = [[[Environment getCurrent] contactsManager] latestContactForPhoneNumber:session.initiatorNumber]; CallController* callController = [self cancelExistingCallAndInitNewCallWork:false remote:session.initiatorNumber - optionalContact:nil]; + optionalContact:callingContact]; + id lifetime = [callController untilCancelledToken]; Future* futureConnected = [CallConnectUtil asyncRespondToCallWithSessionDescriptor:session