Merge pull request #3707 from vector-im/element_3677

Handle Call Actions on Other Devices on VoIP Pushes
This commit is contained in:
ismailgulek 2020-10-01 15:57:00 +03:00 committed by GitHub
commit a7df74ac8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -9,6 +9,7 @@ Changes to be released in next version
🐛 Bugfix
* Settings: New phone number is invisible in dark theme (#3218).
* Handle call actions on other devices on VoIP pushes (#3677).
⚠️ API Changes
*

View file

@ -562,6 +562,9 @@ Matrix session observer used to detect new opened sessions.
{
[session.callManager.callKitAdapter reportIncomingCall:call];
NSLog(@"[PushNotificationService] didReceiveIncomingPushWithPayload: Reporting new call in room %@ for the event: %@", roomId, eventId);
// After reporting the call, we can continue async. Launch a background sync to handle call answers/declines on other devices of the user.
[self launchBackgroundSync];
}
else
{