Remove notification when message is deleted

This commit is contained in:
wch423
2026-03-05 00:37:59 +01:00
parent df97f4069a
commit 15537ea4b2
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -5,6 +5,7 @@
* Allow to set chat description
* Fix: keep original sent timestamp for resent messages
* Fix: make clicking on broadcast member-added messages work always
* Fix: remove notification when a message is deleted by sender
* Update to core 2.44.0
## v2.43.0
@@ -15,6 +15,7 @@ public class DcContext {
public final static int DC_EVENT_MSG_DELIVERED = 2010;
public final static int DC_EVENT_MSG_FAILED = 2012;
public final static int DC_EVENT_MSG_READ = 2015;
public final static int DC_EVENT_MSG_DELETED = 2016;
public final static int DC_EVENT_CHAT_MODIFIED = 2020;
public final static int DC_EVENT_CHAT_EPHEMERAL_TIMER_MODIFIED = 2021;
public final static int DC_EVENT_CHAT_DELETED = 2023;
@@ -210,6 +210,7 @@ public class DcEventCenter {
break;
case DcContext.DC_EVENT_MSGS_NOTICED:
case DcContext.DC_EVENT_MSG_DELETED:
DcHelper.getNotificationCenter(context).removeNotifications(accountId, event.getData1Int());
break;