Merge pull request #3108 from matrix-org/bwindels/edit-room-notif-pill
Support @room pills while editing
This commit is contained in:
commit
63fba611c0
6 changed files with 136 additions and 93 deletions
|
@ -233,7 +233,7 @@ export default class MessageEditor extends React.Component {
|
|||
parts = editState.getSerializedParts().map(p => partCreator.deserializePart(p));
|
||||
} else {
|
||||
// otherwise, parse the body of the event
|
||||
parts = parseEvent(editState.getEvent(), room, this.context.matrixClient);
|
||||
parts = parseEvent(editState.getEvent(), partCreator);
|
||||
}
|
||||
|
||||
return new EditorModel(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue