Remove await for some more getStoredDevice() calls

This commit is contained in:
David Baker 2020-04-29 11:02:22 +01:00
parent 89a910c718
commit 126d81912b
2 changed files with 2 additions and 2 deletions

View file

@ -51,7 +51,7 @@ export default class VerificationRequestToast extends React.PureComponent {
if (request.isSelfVerification) {
const cli = MatrixClientPeg.get();
this.setState({device: await cli.getStoredDevice(cli.getUserId(), request.channel.deviceId)});
this.setState({device: cli.getStoredDevice(cli.getUserId(), request.channel.deviceId)});
}
}