I confirm (by marking "x" in the [ ] below):
Summary
Allow user to join a new team via team invite link
Steps to reproduce
Windows 10 and Mac OSX 10.9 / Mattermost Server v3.6.1 / Mattermost Desktop v3.5.0
1) Join at least two teams on a server
2) Go to TEAM1, then Main Menu > Get Team Invite Link
3) Go to Main Menu > Leave Team
4) On the confirmation dialog, click "Yes"
5) Paste the link you copied in step 1 to a channel in TEAM 2
6) Click the link
Expected behavior
User joins the team and the team page opens for the user on the same window and tab.
Observed behavior
Win10: No action. The user does join the team but doesn't see it on his sidebar until refresh.
OSX 10.9: Team opens in a new app window.
I wasn't sure if this is a bug as it might have been caused by the team sidebar.
So added an improvement label for now.
I created an issue in platform after trying to fix this issue: https://github.com/mattermost/platform/issues/6043
@jnugh Thanks for opening the issue in https://github.com/mattermost/platform/issues/6043
I think the issue description here is specific to the desktop app though, where clicking the team invite link doesn't work properly.
Chatted with @jnugh, this issue is indeed blocked on https://github.com/mattermost/platform/issues/6043
I've added server-side label for now and removed from the milestone until the issue is resolved.
EDIT: Just to clarify: we'll also need to submit a fix for the desktop app, after https://github.com/mattermost/platform/issues/6043
A server-side PR was merged, but it looks like it didn't completely solve the issue. https://github.com/mattermost/platform/pull/6266
A follow-up PR is scheduled for later this month.
Awesome, once the final fix is in I will prepare a fix for the desktop app :smile:
@jnugh The PR is here and now merged to /platform master branch: https://github.com/mattermost/platform/pull/6538
Cool I'll start working on a PR this week :)
Actually, @jnugh, I just tested it and mattermost/platform#6538 fixes it for the desktop app too, at least on Windows 10.
Expected behavior: User joins the team and the team page opens for the user on the same window and tab.
I've asked a team member to help try it on a Mac - if it's fixed there too, I'll close the issue.
Confirmed it's fixed on Mac as well, closing as resolved for Mattermost server 3.10 and later.
Most helpful comment
I created an issue in platform after trying to fix this issue: https://github.com/mattermost/platform/issues/6043