refactor: Remove broken callkeep implementation

This commit is contained in:
Krille 2025-02-16 11:30:16 +01:00
commit 38e5b02b14
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
7 changed files with 16 additions and 393 deletions

View file

@ -15,7 +15,6 @@ import 'package:fluffychat/utils/client_download_content_extension.dart';
import 'package:fluffychat/utils/client_manager.dart';
import 'package:fluffychat/utils/matrix_sdk_extensions/matrix_locals.dart';
import 'package:fluffychat/utils/platform_infos.dart';
import 'package:fluffychat/utils/voip/callkeep_manager.dart';
Future<void> pushHelper(
PushNotification notification, {
@ -120,9 +119,7 @@ Future<void> _tryPushHelper(
client.backgroundSync = true;
}
if (event.type == EventTypes.CallInvite) {
CallKeepManager().initialize();
} else if (event.type == EventTypes.CallHangup) {
if (event.type == EventTypes.CallHangup) {
client.backgroundSync = false;
}