Skip to content

Commit

Permalink
[MI-1996]:Resolved the panic that we were getting on running slash co…
Browse files Browse the repository at this point in the history
…mmand of zoom plugin
  • Loading branch information
Nityanand13 committed Aug 22, 2022
1 parent 39e1bad commit 8d2182b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"support_url": "https://github.com/mattermost/mattermost-plugin-zoom/issues",
"release_notes_url": "https://github.com/mattermost/mattermost-plugin-zoom/releases/tag/v1.5.1",
"icon_path": "assets/profile.svg",
"version": "1.5.1",
"version": "1.5.2-beta",
"min_server_version": "5.37.0",
"server": {
"executables": {
Expand Down
2 changes: 1 addition & 1 deletion server/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const (
settingPMIHelpText = `* |/zoom setting use_pmi [true/false/ask]| -
enable / disable / undecide to use PMI to create meeting
`
alreadyConnectedText = "Already connected"
alreadyConnectedText = "Already connected"
zoomPreferenceCategory = "plugin:zoom"
zoomPMISettingName = "use-pmi"
zoomPMISettingValueAsk = "ask"
Expand Down
2 changes: 1 addition & 1 deletion server/manifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ var manifest = struct {
Version string
}{
ID: "zoom",
Version: "1.5.1",
Version: "1.5.2-beta",
}
2 changes: 1 addition & 1 deletion server/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ func (p *Plugin) SetZoomSuperUserToken(token *oauth2.Token) error {

func (p *Plugin) isCloudLicense() bool {
license := p.API.GetLicense()
return license != nil && *license.Features.Cloud
return license != nil && license.Features != nil && license.Features.Cloud != nil && *license.Features.Cloud
}

func (p *Plugin) OAuthEnabled() bool {
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/manifest.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is automatically generated. Do not modify it manually.

export const id = 'zoom';
export const version = '1.5.1';
export const version = '1.5.2-beta';

0 comments on commit 8d2182b

Please sign in to comment.