You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Focus the composer view on file upload
This commit is contained in:
@@ -450,6 +450,9 @@ 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 (file.type) {
|
||||
content.info.mimetype = file.type;
|
||||
|
||||
Reference in New Issue
Block a user