Merge pull request #3059 from matrix-org/jryans/read-receipts-relations-send-review
Advance read receipts into trailing events without tiles
This commit is contained in:
commit
bea845a80d
3 changed files with 37 additions and 3 deletions
|
@ -826,6 +826,9 @@ module.exports.haveTileForEvent = function(e) {
|
|||
// Only messages have a tile (black-rectangle) if redacted
|
||||
if (e.isRedacted() && !isMessageEvent(e)) return false;
|
||||
|
||||
// No tile for replacement events since they update the original tile
|
||||
if (e.isRelation("m.replace")) return false;
|
||||
|
||||
const handler = getHandlerTile(e);
|
||||
if (handler === undefined) return false;
|
||||
if (handler === 'messages.TextualEvent') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue