mattermost / mattermost-plugin-zoom

Zoom plugin for Mattermost :electric_plug:
Apache License 2.0
106 stars 68 forks source link

[MI-3770] Fixed getting improper response in channel when user's account is disconnected #326

Closed raghavaggarwal2308 closed 10 months ago

raghavaggarwal2308 commented 11 months ago

Summary

When a user tries to create a meeting after disconnecting their account, they get a meeting link in case they have created a meeting recently.

Screenshot:

image

What to test?

Steps to reproduce:
  1. run /zoom connect and connect your account.
  2. run /zoom start OR click the Zoom button in the app bar.
  3. run /zoom disconnect.
  4. run /zoom start OR click the Zoom button in the app bar.

Note: The last two steps must be done within 30 seconds after the second step.

Expected Behaviour:

The user is getting a link to connect his account.

Environment:

MM version: v9.2.2 Node version: 14.18.0 Go version: 1.20.11

Ticket Link

Fixes #306

codecov[bot] commented 11 months ago

Codecov Report

Attention: 13 lines in your changes are missing coverage. Please review.

Comparison is base (18da1f1) 19.33% compared to head (27150eb) 18.86%.

Files Patch % Lines
server/command.go 0.00% 7 Missing :warning:
server/http.go 40.00% 4 Missing and 2 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #326 +/- ## ========================================== - Coverage 19.33% 18.86% -0.48% ========================================== Files 9 9 Lines 1479 1479 ========================================== - Hits 286 279 -7 - Misses 1138 1149 +11 + Partials 55 51 -4 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.