From 0157510c5d8df53941952ffcef7026268440a8c9 Mon Sep 17 00:00:00 2001 From: adbenitez Date: Sat, 6 Sep 2025 21:39:06 +0200 Subject: [PATCH] don't ask to start call --- .../securesms/videochat/VideochatUtil.java | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/main/java/org/thoughtcrime/securesms/videochat/VideochatUtil.java b/src/main/java/org/thoughtcrime/securesms/videochat/VideochatUtil.java index b3b2cfb33..cf6bf8d1e 100644 --- a/src/main/java/org/thoughtcrime/securesms/videochat/VideochatUtil.java +++ b/src/main/java/org/thoughtcrime/securesms/videochat/VideochatUtil.java @@ -26,16 +26,7 @@ public class VideochatUtil { } public static void startCall(Activity activity, int chatId) { - DcContext dcContext = DcHelper.getContext(activity); - DcChat dcChat = dcContext.getChat(chatId); - - new AlertDialog.Builder(activity) - .setTitle(activity.getString(R.string.videochat_invite_user_to_videochat, dcChat.getName())) - .setNegativeButton(R.string.cancel, null) - .setPositiveButton(R.string.ok, (dialog, which) -> { - openCall(activity, chatId, 0, "#call"); - }) - .show(); + openCall(activity, chatId, 0, "#call"); } public static void joinCall(Activity activity, int callId, String payload) {