Closed sbishel closed 2 months ago
When creating the Client an error can occur if the user isn't connected. (ie. Token == nil) or an error happens attempting to refresh or save the token. This PR distinguished between the two issues and handles them differently.
Fixes https://mattermost.atlassian.net/browse/MM-57785
This was built on top of https://github.com/mattermost/mattermost-plugin-msteams/pull/593 which needs merged first.
Summary
When creating the Client an error can occur if the user isn't connected. (ie. Token == nil) or an error happens attempting to refresh or save the token. This PR distinguished between the two issues and handles them differently.
Ticket Link
Fixes https://mattermost.atlassian.net/browse/MM-57785
This was built on top of https://github.com/mattermost/mattermost-plugin-msteams/pull/593 which needs merged first.