update fork #100

Closed
thedevstack-bot wants to merge 0 commits from mirror/monocles_chat_clean:master into master
No description provided.
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.
Can't use from when the message is from us...

(cherry picked from commit 95ec711b31ac87a1fc4c753cb546e54c5ba93c5f)
Add columnExists method and use it to check for RETRACT_ID column
Some checks failed
Android CI / build (pull_request) Has been cancelled
b697f99567
fix message retraction of edited messages
Temporary style reply and info bubbles to look like other bubbles
Some checks failed
Android CI / build (pull_request) Has been cancelled
edf9f47ba1
Prepare release 2.0.14
Some checks failed
Android CI / build (pull_request) Has been cancelled
1a54faed7a
This reverts commit c198f4e35c.
(cherry picked from commit 938cd3b9e9562a0560744b2796de424c84de9988)
Prevent crash if username view is missing
Some checks failed
Android CI / build (pull_request) Has been cancelled
6f04c3a23d
Fix message retraction for encrypted messages
Some checks failed
Android CI / build (pull_request) Has been cancelled
724ab16494
Thinner status line and username bubble
Some checks failed
Android CI / build (pull_request) Has been cancelled
b49974e142
Remove autolink from pinned messages
Some checks failed
Android CI / build (pull_request) Has been cancelled
9874c92cca
lookshe closed this pull request 2025-09-19 14:19:44 +02:00
Some checks failed
Android CI / build (pull_request) Has been cancelled

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
update fork
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: thedevstack/PiratX#100
No description provided.