diff --git a/plugin.json b/plugin.json index aab038c67..2027d77d5 100644 --- a/plugin.json +++ b/plugin.json @@ -2,7 +2,7 @@ "id": "github", "name": "GitHub", "description": "GitHub plugin for Mattermost.", - "version": "0.9.0", + "version": "0.9.1", "server": { "executables": { "linux-amd64": "server/dist/plugin-linux-amd64", diff --git a/server/configuration.go b/server/configuration.go index 434ce07ab..49401a698 100644 --- a/server/configuration.go +++ b/server/configuration.go @@ -2,7 +2,6 @@ package main import ( "fmt" - "path" "reflect" "github.com/mattermost/mattermost-server/model" @@ -105,7 +104,9 @@ func (p *Plugin) setConfiguration(configuration *configuration, serverConfigurat configuration.PluginsDirectory = *serverConfiguration.PluginSettings.Directory } if serverConfiguration.ServiceSettings.SiteURL != nil { - configuration.ProfileImageURL = path.Join(*serverConfiguration.ServiceSettings.SiteURL, "plugins", manifest.Id, "assets", "profile.png") + // Temporary patch until issue with image proxy is solved + configuration.ProfileImageURL = "https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png" + //configuration.ProfileImageURL = path.Join(*serverConfiguration.ServiceSettings.SiteURL, "plugins", manifest.Id, "assets", "profile.png") } p.configuration = configuration diff --git a/server/manifest.go b/server/manifest.go index 8f564340e..91cd3cbd2 100644 --- a/server/manifest.go +++ b/server/manifest.go @@ -5,5 +5,5 @@ var manifest = struct { Version string }{ Id: "github", - Version: "0.9.0", + Version: "0.9.1", } diff --git a/webapp/package.json b/webapp/package.json index 7761ed204..94926b20b 100644 --- a/webapp/package.json +++ b/webapp/package.json @@ -1,6 +1,6 @@ { "name": "github", - "version": "0.7.1", + "version": "0.9.1", "description": "Github plugin for Mattermost", "main": "src/index.js", "scripts": { diff --git a/webapp/src/manifest.js b/webapp/src/manifest.js index 0a074811b..96adda756 100644 --- a/webapp/src/manifest.js +++ b/webapp/src/manifest.js @@ -1,2 +1,2 @@ export const id = 'github'; -export const version = '0.9.0'; +export const version = '0.9.1';