You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
Move and lint
This commit is contained in:
@@ -450,9 +450,6 @@ export default class ContentMessages {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
// Focus the composer view
|
|
||||||
dis.dispatch({action: 'focus_composer'})
|
|
||||||
|
|
||||||
// if we have a mime type for the file, add it to the message metadata
|
// if we have a mime type for the file, add it to the message metadata
|
||||||
if (file.type) {
|
if (file.type) {
|
||||||
content.info.mimetype = file.type;
|
content.info.mimetype = file.type;
|
||||||
@@ -495,6 +492,9 @@ export default class ContentMessages {
|
|||||||
this.inprogress.push(upload);
|
this.inprogress.push(upload);
|
||||||
dis.dispatch({action: 'upload_started'});
|
dis.dispatch({action: 'upload_started'});
|
||||||
|
|
||||||
|
// Focus the composer view
|
||||||
|
dis.dispatch({action: 'focus_composer'});
|
||||||
|
|
||||||
let error;
|
let error;
|
||||||
|
|
||||||
function onProgress(ev) {
|
function onProgress(ev) {
|
||||||
|
|||||||
Reference in New Issue
Block a user