fix thread fallback (#1478)

This commit is contained in:
Ajay Bura
2023-10-23 21:43:07 +11:00
committed by GitHub
parent 0f84928e7c
commit fb8b706c80
3 changed files with 8 additions and 3 deletions
+4
View File
@@ -380,3 +380,7 @@ export const getLatestEditableEvt = (
}
return undefined;
};
export const reactionOrEditEvent = (mEvent: MatrixEvent) =>
mEvent.getRelation()?.rel_type === RelationType.Annotation ||
mEvent.getRelation()?.rel_type === RelationType.Replace;