diff --git a/src/matrix/room/timeline/relations.js b/src/matrix/room/timeline/relations.js index 4009d8c4..2d9217ad 100644 --- a/src/matrix/room/timeline/relations.js +++ b/src/matrix/room/timeline/relations.js @@ -30,7 +30,7 @@ export function createAnnotation(targetId, key) { } export function getRelationTarget(relation) { - return relation.event_id || relation["m.in_reply_to"]?.event_id + return relation["m.in_reply_to"]?.event_id || relation.event_id; } export function setRelationTarget(relation, target) {