mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
auto-accept calls for testing
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user