This repository was archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Missing content for edited encrypted event #14252
Copy link
Copy link
Closed
Labels
A-E2EEEnd-to-end encryption for Matrix clientsEnd-to-end encryption for Matrix clientsA-Syncdefects related to /syncdefects related to /syncO-OccasionalAffects or can be seen by some users regularly or most users rarelyAffects or can be seen by some users regularly or most users rarelyS-MajorMajor functionality / product severely impaired, no satisfactory workaround.Major functionality / product severely impaired, no satisfactory workaround.T-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.Bugs, crashes, hangs, security vulnerabilities, or other reported issues.X-Release-BlockerMust be resolved before making a releaseMust be resolved before making a release
Description
According to @BillCarsonFr (element-hq/element-web#23550 (comment)):
- Send a message In a room with some history => the intitial sync has to be
limited=truefor that room - Edit it once
- Do a clear cache (initial sync)
The original event is then returned with with empty content, as if it's been redacted:
{
"type": "m.room.encrypted",
"sender": "@alice:localhost:8480",
"content": {},
"origin_server_ts": 1666342304414,
"unsigned": {
"age": 500276,
"transaction_id": "m1666342304366.6",
"m.relations": {
"m.replace": {
"event_id": "$toxW3soIUzZbG6cmnw94p0-cvQ5_AlIM0NJ7SJz7vpY",
"origin_server_ts": 1666342320779,
"sender": "@alice:localhost:8480"
}
}
},
"event_id": "$q6rQxsGaW0XscWvlnTUiWVIAcV07AMNZqZzPF3Sbga4"
}Metadata
Metadata
Assignees
Labels
A-E2EEEnd-to-end encryption for Matrix clientsEnd-to-end encryption for Matrix clientsA-Syncdefects related to /syncdefects related to /syncO-OccasionalAffects or can be seen by some users regularly or most users rarelyAffects or can be seen by some users regularly or most users rarelyS-MajorMajor functionality / product severely impaired, no satisfactory workaround.Major functionality / product severely impaired, no satisfactory workaround.T-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.Bugs, crashes, hangs, security vulnerabilities, or other reported issues.X-Release-BlockerMust be resolved before making a releaseMust be resolved before making a release