From e5b69dec5d12e92f4ac718906f81ec2d78360507 Mon Sep 17 00:00:00 2001 From: Krille Fear Date: Wed, 12 Oct 2022 13:31:29 +0200 Subject: [PATCH] chore: Update matrix SDK --- lib/utils/voip_plugin.dart | 10 ++++++++++ pubspec.lock | 2 +- pubspec.yaml | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/lib/utils/voip_plugin.dart b/lib/utils/voip_plugin.dart index c5d71bb9..0b0b8b16 100644 --- a/lib/utils/voip_plugin.dart +++ b/lib/utils/voip_plugin.dart @@ -209,4 +209,14 @@ class VoipPlugin with WidgetsBindingObserver implements WebRTCDelegate { // TODO: implement cloneStream throw UnimplementedError(); } + + @override + // TODO: implement canHandleNewCall + bool get canHandleNewCall => + voip.currentCID == null && voip.currentGroupCID == null; + + @override + void handleMissedCall(CallSession session) { + // TODO: implement handleMissedCall + } } diff --git a/pubspec.lock b/pubspec.lock index 1cffb526..26d4e53b 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -1044,7 +1044,7 @@ packages: name: matrix url: "https://pub.dartlang.org" source: hosted - version: "0.13.0" + version: "0.14.1" matrix_api_lite: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 1f039de6..8fcfdf6d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -65,7 +65,7 @@ dependencies: latlong2: ^0.8.1 localstorage: ^4.0.0+1 lottie: ^1.2.2 - matrix: ^0.13.0 + matrix: ^0.14.1 matrix_homeserver_recommendations: ^0.3.0 matrix_link_text: ^1.0.2 native_imaging: ^0.1.0