put auth buttons in preview bar

This commit is contained in:
Bruno Windels 2019-04-15 17:52:17 +02:00
parent c1ff5f2fba
commit fd6c594a8f
3 changed files with 19 additions and 70 deletions

View file

@ -1714,11 +1714,6 @@ module.exports = React.createClass({
/>;
}
if (MatrixClientPeg.get().isGuest()) {
const AuthButtons = sdk.getComponent('views.auth.AuthButtons');
messageComposer = <AuthButtons />;
}
// TODO: Why aren't we storing the term/scope/count in this format
// in this.state if this is what RoomHeader desires?
if (this.state.searchResults) {