Closed Bug 1701218 Opened 3 years ago Closed 2 years ago

Support message redactions

Categories

(Chat Core :: Matrix, enhancement)

enhancement

Tracking

(thunderbird_esr91 wontfix, thunderbird99 fixed)

RESOLVED FIXED
99 Branch
Tracking Status
thunderbird_esr91 --- wontfix
thunderbird99 --- fixed

People

(Reporter: freaktechnik, Assigned: freaktechnik)

References

Details

Attachments

(1 file)

Matrix allows for events to be redacted (deleted). This leads to its content no longer being available to any participant. We currently don't handle redactions at all, and don't support sending them.

This would require a mapping of matrix event ID to the displayed message ID, as well as support for redactions in the conversation API.

A big question is how we would handle it in logs, since our logs are currently append-only.

I think this is mostly a special case of bug 1701216?

(In reply to Patrick Cloke [:clokep] from comment #1)

I think this is mostly a special case of bug 1701216?

I guess in terms of UI support they would be fairly similar - except that as a moderator you would also be allowed to redact other's messages, while you don't get to edit other's messages.

I filed them separately primarily because they are separate events in the protocol (this is m.room.redaction).

I meant mostly in terms of the infrastructure necessary -- we need to be able to reach back into the DOM and modify a message after the fact, plus do something with the logs.

Blocks: 1712710
Depends on: 1735351

Depends on D134408

Assignee: nobody → martin
Status: NEW → ASSIGNED
Target Milestone: --- → 99 Branch

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/ede3081f1b9e
Redacting matrix messages. r=clokep

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: