Merge pull request #2879 from matrix-org/dbkr/file_upload_fallout

Fix a few bugs introduced in file upload rework
This commit is contained in:
David Baker
2019-04-05 15:48:45 +01:00
committed by GitHub
2 changed files with 5 additions and 5 deletions

View File

@@ -536,7 +536,9 @@ module.exports = React.createClass({
payload.data.description || payload.data.name);
break;
case 'picture_snapshot':
this.uploadFile(payload.file);
return ContentMessages.sharedInstance().sendContentListToRoom(
[payload.file], this.state.room.roomId, MatrixClientPeg.get(),
);
break;
case 'notifier_enabled':
case 'upload_started':