You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-15 11:01:52 +03:00
Use teamToken, not config when doing screen fallback
This commit is contained in:
@ -723,7 +723,7 @@ module.exports = React.createClass({
|
|||||||
} else {
|
} else {
|
||||||
// There is no information on presentedId
|
// There is no information on presentedId
|
||||||
// so point user to fallback like /directory
|
// so point user to fallback like /directory
|
||||||
if (self.props.config.home_page) {
|
if (self._teamToken) {
|
||||||
self.notifyNewScreen('home');
|
self.notifyNewScreen('home');
|
||||||
} else {
|
} else {
|
||||||
self.notifyNewScreen('directory');
|
self.notifyNewScreen('directory');
|
||||||
|
Reference in New Issue
Block a user