Skip to content

Wrong date/time of a conversation when a new message is received and deleted #618

@antodc

Description

@antodc

Checklist

  • I can reproduce the bug with the latest version given here.
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected app version

1.6.0

Affected Android/Custom ROM version

Android 12

Affected device model

Oscal C70

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug

  1. Receive a new message
  2. Delete that message

Expected behavior

The time/date of the conversation are those of the latest remaining message

Actual behavior

The time/date of the conversation are those of the deleted message

Screenshots/Screen recordings

No response

Additional information

I just found this issue on my daughter's phone (the system/phone details reported above are those of my daughter). With my phone everything works fine.
I thought #274 and #225 solved these issues, but apparently they are still there in some cases/phones.
I tried reinstalling and deleting data/cache, with no success. After reinstalling/deleting, in the conversation list still appears the text of the deleted message in the affected conversation. After opening that conversation, or any other conversation, and going back to the conversation list that text disappears, but the date/time of the deleted message are still there.
Just guessing, but is there a problem with the database? How could it be possible that a deleted text is shown (although temporarily) for a deleted message? Not my case, but it could also be a serious privacy issue.
Could it be related to #183? In my daughter's case the deleted message is neither completely restored nor completely removed.

EDIT Just to clarify. When I said that in the conversation list still appears the text of the deleted message, I meant literally in the conversation list and nowhere else. If I open the affected conversation, the deleted message is not there. In addition, when going back to the conversation list any reference to that message disappears, except for time/date.

Metadata

Metadata

Assignees

Labels

bugSomething is not working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions