Skip to content

Conversation

ThomasSession
Copy link
Collaborator

SES-2817 - Making sure the deletion is available in the app bar menu in all cases as the deletion logic is now handled in the VM
SES-2811 - Making sure we do not attempt to send messages marked as deleted
SES-2818 - Updating the logic obtaining the 'lastMessage' of a thread, taking into account whether they were marked as deleted or not
SES-2464 - Changed the logic when finishing a conversation activity from a deleted thread. It now calls finish again but the home screen will refresh the search on resume if the search is visible

Copy link
Collaborator

@SessionHero01 SessionHero01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ThomasSession ThomasSession merged commit 4b01fce into dev Oct 21, 2024
2 checks passed
@ThomasSession ThomasSession deleted the fix/message-deletion-issues branch October 21, 2024 04:45
Copy link

@AL-Session AL-Session left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good.

}
}

public @Nullable MessageRecord getNonDeletedMessageForTimestamp(long timestamp) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't a non-deleted message just a message? Perhaps getMessageForTimestamp?

Ah, we now have messages with a 'deleted' type in the database.... that's a kinda odd way to go about things, but another way you could think of it is that the message is kinda in the "Recycle Bin" / "Trash" whatever you want to call it, so could potentially be recovered if required (but we never do and just clean that stuff out).

So okay, I guess...

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah a message can be completely gone or marked as deleted. It still exists in the db and shows up as a special case message with the bin icon and a label like 'This message was deleted for everyone'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants