fix thread fallback (#1478)

This commit is contained in:
Ajay Bura
2023-10-23 21:43:07 +11:00
committed by GitHub
parent 1ff312d236
commit c0abb0d50d
3 changed files with 8 additions and 3 deletions

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;