Merge pull request #2914 from matrix-org/anoa/image_to_composer

Focus the composer view on file upload
This commit is contained in:
Travis Ralston 2019-04-12 10:20:38 -06:00 committed by GitHub
commit c8bd2e7aa5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -492,6 +492,9 @@ export default class ContentMessages {
this.inprogress.push(upload);
dis.dispatch({action: 'upload_started'});
// Focus the composer view
dis.dispatch({action: 'focus_composer'});
let error;
function onProgress(ev) {