Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

MS Teams #137

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
rzuritamilla opened this issue Sep 20, 2020 · 5 comments
Closed

MS Teams #137

rzuritamilla opened this issue Sep 20, 2020 · 5 comments
Labels
help wanted help with app someone needs help with opening a specific application

Comments

@rzuritamilla
Copy link

Hi,

Perhaps a(nother) newbie question but the MS Teams handler does not work as expected. Finicky does open MS Teams but it does not go to the corresponding url (I am clicking a link that should take me to a file). Instead MS Teams stays where I last left it (file or team or chat window). Do you have any tip for me?

@johnste
Copy link
Owner

johnste commented Nov 7, 2020

Sorry, I'm not a user of MS Teams myself, so I won't be able to help you here.

@johnste johnste added help with app someone needs help with opening a specific application and removed question / support labels Jan 16, 2021
@thomasLeclaire
Copy link

thomasLeclaire commented Feb 2, 2021

Hello,
just got a look and yes this ms teams handler does not work as expected.

There is several things :

which need to be converted into :
msteams:/l/meetup-join/19:meeting_xxx with xxx url-decoded
all the arguments are globally useless.

ie these rewrites :

    {
      // handle teams redirects
      match: /teams.microsoft.com\/l/,
      url:  ({urlString}) => decodeURIComponent(urlString.match(/^.*teams.microsoft.com\/(.*?)\?.*/i)[1])
    },
    {
      // handle teams redirects
      match: /teams.microsoft.com\/dl/,
      url:  ({url}) => (decodeURIComponent(url.search.match(/^url=.*(l%2F.*?)&type/i)[1]).match(/^(.*)\?.*/)[1])
    }

and this handler :

    {
      match: /l\/meetup-join|l\/channel/,
      browser: 'com.microsoft.teams',
      url({ url }) {
        return {
          ...url,
          protocol: 'msteams',
        };
      },
    },   

@gerwitz
Copy link

gerwitz commented Jun 3, 2021

I have success with a very simple handler:

    {
      match: /^https?:\/\/teams\.microsoft\.com\/l\/meetup\-join\/.*$/,
      browser: "Microsoft Teams"
    }

@thomasLeclaire
Copy link

I have success with a very simple handler:

    {
      match: /^https?:\/\/teams\.microsoft\.com\/l\/meetup\-join\/.*$/,
      browser: "Microsoft Teams"
    }

not working on my side, like there is still the double slash issue.

which Teams version do you have? and do you have any example of a full link?

by the way, your handler match only one type of teams links, but there are the webcast, the files, the channel ones at minima.

@gerwitz
Copy link

gerwitz commented Jun 6, 2021

Teams version 1.4.00.11161, but this has worked for quite some time over many updates.

Indeed I have only one use case, and it is for joining scheduled events. I’m in a big corporate IT setting, and created this to handle the “join” links that appear in calendar invites that sometimes aren’t recognized by Teams to trigger a nice join button (and before Outlook even tried.

Repository owner locked and limited conversation to collaborators Dec 5, 2021
@johnste johnste converted this issue into discussion #227 Dec 5, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
help wanted help with app someone needs help with opening a specific application
Projects
None yet
Development

No branches or pull requests

4 participants