OfficeDev / microsoft-teams-library-js

JavaScript library for use by Microsoft Teams apps
https://docs.microsoft.com/microsoftteams/platform/
Other
427 stars 195 forks source link

`microsoftTeams.app.openLink` redirects to the wrong chat conversation after correctly redirecting to the chat conversation. #2362

Closed tiennguyen1293 closed 1 month ago

tiennguyen1293 commented 3 months ago

It seems that the Teams App Desktop has recently updated something causing the Chat Tab to redirect to the previously selected chat conversation.

However, with the microsoftTeams.app.openLink function, the behavior is incorrect. After I trigger openLink, I am redirected to the chat conversation I want, but then it redirects back to the previously selected chat room.

Expected:

P/s: Working on Teams Android And Teams iOS.

Versions:

"@microsoft/teams-js": "^2.21.0"

Teams Desktop App: 
You have Microsoft Teams version 24091.212.2846.1453.
You've got the latest version. It was last checked on 5/13/2024.
The client version is 50/24050307617.
microsoft-github-policy-service[bot] commented 3 months ago

Hi tiennguyen1293! Thank you for bringing this issue to our attention. We will investigate and if we require further information we will reach out in one business day. Please use this link to escalate if you don't get replies.

Best regards, Teams Platform

Dinesh-MSFT commented 3 months ago

Hi @tiennguyen1293 - Thanks for raising the query. We will look into it and let you know the updates.

Dinesh-MSFT commented 2 months ago

Hi @tiennguyen1293, We have tried to repro this issue with 'https://teams.microsoft.com/l/chat/19:26531ed8-42bb-4bd0-a14f-0290df84650d_7d0ecdd8-82dd-44bd-9b10-043545eb1aae@unq.gbl.spaces/conversations' deep link. It is working fine. To help you better could please provide more details for further assistance. So, we will look into it and let you know the updates.

tiennguyen1293 commented 2 months ago

hi @Dinesh-MSFT,

It working fine with Teams The client version is 50/24062724807 but not work with The client version is 49/24061318408. This client has a Teams App New

This is a logo of Teams App New facing an issue. image

 Version
You have Microsoft Teams version 24165.1414.2987.41.
You've got the latest version. It was last checked on 7/17/2024.
The client version is 49/24061318408.

Please help me to check

Dinesh-MSFT commented 2 months ago

Hi @tiennguyen1293, Could please try to update your Teams and check once. if you still face the issue, we will raise the bug.

microsoft-github-policy-service[bot] commented 1 month ago

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 3 days. It will be closed if no further activity occurs within 3 days of this comment.