Links open i browser instead of app

I can confirm this bug, I tested that if logged in, and preference has been set, the checking of opening on app or not, will be bypassed

mattermost/webapp/channels/src/components/root/root.tsx

From

        // Only show the landing page once
        if (BrowserStore.hasSeenLandingPage()) {
            return;
        }

to

        // Only show the landing page once
        if (BrowserStore.hasSeenLandingPage()) {
            // return;
        }

will ensure that the “landing” code in mattermost/webapp/channels/src/components/linking_landing_page/linking_landing_page.tsx

is triggered, and then the app will open, based on the preference. However, this is just a workaround to find the root cause. The logic needs to include such that if the preference has been set, and is set to open on mobile, it should proceed to the landing code. the return should only apply if have set to continue in browser.