From 7ec87f55b66cf566b2544c494519bb48c2691ed5 Mon Sep 17 00:00:00 2001 From: adbenitez Date: Tue, 9 Sep 2025 17:39:29 +0200 Subject: [PATCH] auto-accept calls for testing --- .../org/thoughtcrime/securesms/videochat/VideochatUtil.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/thoughtcrime/securesms/videochat/VideochatUtil.java b/src/main/java/org/thoughtcrime/securesms/videochat/VideochatUtil.java index f4e72adc5..9225cae07 100644 --- a/src/main/java/org/thoughtcrime/securesms/videochat/VideochatUtil.java +++ b/src/main/java/org/thoughtcrime/securesms/videochat/VideochatUtil.java @@ -25,11 +25,11 @@ public class VideochatUtil { int chatId = dcMsg.getChatId(); String hash = "#offer=" + payload; - DcHelper.getNotificationCenter(activity).addCallNotification(accId, chatId, callId); + //DcHelper.getNotificationCenter(activity).addCallNotification(accId, chatId, callId); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { CallIntegrationService.addNewIncomingCall(activity, accId, chatId, callId, payload); } - //openCall(activity, chatId, callId, hash); + openCall(activity, chatId, callId, hash); } private static void openCall(Activity activity, int chatId, int callId, String hash) {