1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-28 15:22:05 +03:00

Ensure errors when creating a DM are raised to the user

Fixes https://github.com/vector-im/riot-web/issues/12186

Note: this will still result in an empty room being created, but that's a Synapse issue and not something we can solve.
This commit is contained in:
Travis Ralston
2020-02-27 17:10:31 -07:00
parent 5325b5677f
commit 46a6af0ad1
3 changed files with 7 additions and 2 deletions

View File

@ -564,7 +564,7 @@ export default class InviteDialog extends React.PureComponent {
return;
}
const createRoomOptions = {};
const createRoomOptions = {inlineErrors: true};
if (SettingsStore.isFeatureEnabled("feature_cross_signing")) {
// Check whether all users have uploaded device keys before.