Commit 9c6f9a89 authored by Emil Velikov's avatar Emil Velikov Committed by Jordi Mallach
Browse files

Disable Android/iOS landing page redirect for now

The instance has a number of changes that prevent us from using the
official client. Some even said the client was broken all together.

Either way - remove the annoying redirect.
Signed-off-by: default avatarEmil Velikov <>
parent 4040d5d6
......@@ -217,6 +217,9 @@ export default class Root extends React.Component {
const toResetPasswordScreen = this.props.location.pathname === '/reset_password_complete';
// Remove any redirects - the mobile apps do no work with the instance
// XXX: Should we make this a proper option/toggle somewhere.
if (false) {
// redirect to the mobile landing page if the user hasn't seen it before
if (iosDownloadLink && UserAgent.isIosWeb() && !BrowserStore.hasSeenLandingPage() && !toResetPasswordScreen) {
......@@ -225,6 +228,7 @@ export default class Root extends React.Component {
localizationChanged = () => {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment