Batch of views getting replaceableComponent decorators
This commit is contained in:
parent
fc5b1ed9d6
commit
c5935dbc61
46 changed files with 92 additions and 3 deletions
|
@ -34,6 +34,7 @@ import MatrixClientContext from "../../../contexts/MatrixClientContext";
|
|||
import {Action} from "../../../dispatcher/actions";
|
||||
import SettingsStore from "../../../settings/SettingsStore";
|
||||
import CountlyAnalytics from "../../../CountlyAnalytics";
|
||||
import {replaceableComponent} from "../../../utils/replaceableComponent";
|
||||
|
||||
function _isReply(mxEvent) {
|
||||
const relatesTo = mxEvent.getContent()["m.relates_to"];
|
||||
|
@ -102,6 +103,7 @@ function createEditContent(model, editedEvent) {
|
|||
}, contentBody);
|
||||
}
|
||||
|
||||
@replaceableComponent("views.rooms.EditMessageComposer")
|
||||
export default class EditMessageComposer extends React.Component {
|
||||
static propTypes = {
|
||||
// the message event being edited
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue