You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-12-07 03:42:20 +03:00
Use updates stable relations from js-sdk (#8715)
* Use updates stable relations from js-sdk * Relations is now accessible on the Room instead * Reuse more existing code and ditch confusing `isThreadRelation` * Fix last usage of removed `isThreadRelation` * Update tests to match removal of isThreadRelation * Tweak method naming to closer match spec * Fix missing method name change
This commit is contained in:
committed by
GitHub
parent
56b0b79fb7
commit
21d0aaf524
@@ -189,7 +189,7 @@ const ReplyInThreadButton = ({ mxEvent }: IReplyInThreadButton) => {
|
||||
action: Action.ViewUserSettings,
|
||||
initialTabId: UserTab.Labs,
|
||||
});
|
||||
} else if (mxEvent.isThreadRelation) {
|
||||
} else if (mxEvent.getThread() && !mxEvent.isThreadRoot) {
|
||||
showThread({
|
||||
rootEvent: mxEvent.getThread().rootEvent,
|
||||
initialEvent: mxEvent,
|
||||
|
||||
Reference in New Issue
Block a user