forked from mirror/monocles_chat_clean
update fork #100
No reviewers
Labels
No labels
update fork
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
thedevstack/PiratX!100
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "mirror/monocles_chat_clean:master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This commit refactors the message retraction and moderation functionality. - Added `retractId` field to `Message` entity and database schema. - Updated `ConversationFragment` to handle new message retraction logic: - Set `deleted` flag on message. - Clear sensitive fields like body, file path, and payloads. - Send a retraction message to the server if the original message was sent. - Update the UI to reflect the retracted message. - Modified `MessageParser` to handle incoming retraction/moderation messages: - Find the original message by `replacementId`. - Verify authorization to retract/moderate. - Update the original message's body to indicate retraction/moderation. - Clear sensitive fields and delete associated files. - Update the message in the database and UI. - Adjusted `MessageGenerator` to include retraction information in outgoing messages when `isDeleted` is true. - Added new string resources for retracted messages.storeInCacheto prioritize global preference 6cb259a7ecPull request closed