Prefer last modified time over last message time

This commit is contained in:
Naveen 2022-10-08 20:50:49 +05:30
parent 6f07d6971a
commit 203f10618f
4 changed files with 28 additions and 15 deletions

View file

@ -609,7 +609,6 @@ fun Context.deleteMessage(id: Long, isMMS: Boolean) {
fun Context.deleteScheduledMessage(messageId: Long) {
try {
messagesDB.delete(messageId)
cancelScheduleSendPendingIntent(messageId)
} catch (e: Exception) {
showErrorToast(e)
}