aboutsummaryrefslogtreecommitdiff
path: root/connector/mattermost
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-02-29 20:47:44 +0100
committerAlex Auvolat <alex@adnab.me>2020-02-29 20:47:44 +0100
commit1316a3031b829daa28eda205bd3cdf14b192a0b4 (patch)
tree71d4844e21456652918cb02594a9386a87db92b8 /connector/mattermost
parent74314696328a52779b83777eddac6bb506a3846b (diff)
downloadeasybridge-1316a3031b829daa28eda205bd3cdf14b192a0b4.tar.gz
easybridge-1316a3031b829daa28eda205bd3cdf14b192a0b4.zip
Load member lists and avatar (low res) from facebook
Diffstat (limited to 'connector/mattermost')
-rw-r--r--connector/mattermost/mattermost.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/connector/mattermost/mattermost.go b/connector/mattermost/mattermost.go
index e5b5bc9..d39768e 100644
--- a/connector/mattermost/mattermost.go
+++ b/connector/mattermost/mattermost.go
@@ -210,7 +210,7 @@ func (mm *Mattermost) SetRoomInfo(roomId RoomID, info *RoomInfo) error {
mm.conn.UpdateChannelHeader(ch, info.Topic)
}
- if MediaObject(info.Picture) != nil {
+ if info.Picture.MediaObject != nil {
err = fmt.Errorf("Not supported: channel picture on mattermost")
}