Improved sent failure handling (untested)

This commit is contained in:
M66B
2020-06-25 23:09:02 +02:00
parent f545281477
commit 63636158d8
5 changed files with 63 additions and 63 deletions

View File

@@ -3696,7 +3696,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
if (message.identity != null) {
// Identity can be deleted
NotificationManager nm = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
nm.cancel("send:" + message.identity, 1);
nm.cancel("send:" + message.id, 1);
}
return null;