remove notification on accepted call

This commit is contained in:
adbenitez 2025-09-11 13:22:21 +02:00
parent 7a11234431
commit 534a75feaa

View file

@ -187,6 +187,7 @@ public class DcEventCenter {
DcHelper.getNotificationCenter(context).notifyCall(accountId, event.getData1Int(), event.getData2Str()); DcHelper.getNotificationCenter(context).notifyCall(accountId, event.getData1Int(), event.getData2Str());
break; break;
case DcContext.DC_EVENT_INCOMING_CALL_ACCEPTED:
case DcContext.DC_EVENT_CALL_ENDED: case DcContext.DC_EVENT_CALL_ENDED:
DcHelper.getNotificationCenter(context).removeCallNotification(accountId, event.getData1Int()); DcHelper.getNotificationCenter(context).removeCallNotification(accountId, event.getData1Int());
break; break;