Fix reply chain fallback for first event in a thread (#7580)
This commit is contained in:
parent
8427bf46ef
commit
ec6bb88068
2 changed files with 1 additions and 3 deletions
|
@ -212,7 +212,7 @@ export default class ThreadView extends React.Component<IProps, IState> {
|
|||
"rel_type": RelationType.Thread,
|
||||
"event_id": this.state.thread?.id,
|
||||
"m.in_reply_to": {
|
||||
"event_id": this.state.lastThreadReply?.getId(),
|
||||
"event_id": this.state.lastThreadReply?.getId() ?? this.state.thread?.id,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue