fix(timeline): render events that are still encrypted and refresh on decryption - #1555
Open
eleboucher wants to merge 1 commit into
Open
fix(timeline): render events that are still encrypted and refresh on decryption#1555eleboucher wants to merge 1 commit into
eleboucher wants to merge 1 commit into
Conversation
Contributor
Deploying with
|
| Status | Preview URL | Commit | Alias | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! | https://pr-1555-sable.raspy-dream-bb1d.workers.dev | 78af875 | pr-1555 |
Sat, 01 Aug 2026 09:58:42 GMT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
messages in encrypted rooms didn't appear until you scrolled or refocused.
getType() returns m.room.encrypted until decryption finishes, but the render filter listed 'm.room.message.encrypted', which isn't a real type. b1ac4a6 turned that filter into a hard drop, so undecrypted events got no row, and nothing re-ran the filter once they decrypted.
also fixes messages that fail to decrypt showing nothing instead of the placeholder.
based on refactor/matrix-event-type-constants, which kept the bogus string as ROOM_MESSAGE_DECRYPTED. nothing sets that type, so it's removed.
Fixes #1553
Fixes #1508
Type of change
Checklist:
AI disclosure: