Merge pull request #2150 from matrix-org/dbkr/disable_ilag_if_unsupported

Do full registration if HS doesn't support ILAG
This commit is contained in:
David Baker 2018-09-06 16:23:32 +01:00 committed by GitHub
commit c8ab8bf5f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 115 additions and 16 deletions

View file

@ -131,7 +131,7 @@ export default class MessageComposer extends React.Component {
onUploadClick(ev) {
if (MatrixClientPeg.get().isGuest()) {
dis.dispatch({action: 'view_set_mxid'});
dis.dispatch({action: 'require_registration'});
return;
}