Merge pull request #3108 from matrix-org/bwindels/edit-room-notif-pill

Support @room pills while editing
This commit is contained in:
Bruno Windels
2019-06-18 16:43:14 +00:00
committed by GitHub
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(