Convert all of file uploads to the new dispatcher

This commit is contained in:
Travis Ralston 2021-03-05 13:20:50 -07:00
parent ae9618367e
commit bb80cfb9a6
6 changed files with 123 additions and 22 deletions

View file

@ -711,9 +711,9 @@ export default class RoomView extends React.Component<IProps, IState> {
[payload.file], this.state.room.roomId, this.context);
break;
case 'notifier_enabled':
case 'upload_started':
case 'upload_finished':
case 'upload_canceled':
case Action.UploadStarted:
case Action.UploadFinished:
case Action.UploadCanceled:
this.forceUpdate();
break;
case 'call_state': {