aboutsummaryrefslogtreecommitdiff
path: root/connector/irc
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/irc
parent74314696328a52779b83777eddac6bb506a3846b (diff)
downloadeasybridge-1316a3031b829daa28eda205bd3cdf14b192a0b4.tar.gz
easybridge-1316a3031b829daa28eda205bd3cdf14b192a0b4.zip
Load member lists and avatar (low res) from facebook
Diffstat (limited to 'connector/irc')
-rw-r--r--connector/irc/irc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/connector/irc/irc.go b/connector/irc/irc.go
index 4d014e8..bf36dfe 100644
--- a/connector/irc/irc.go
+++ b/connector/irc/irc.go
@@ -142,7 +142,7 @@ func (irc *IRC) SetRoomInfo(roomId RoomID, info *RoomInfo) error {
if info.Name != "" && info.Name != ch {
return fmt.Errorf("May not change IRC room name to other than %s", ch)
}
- if MediaObject(info.Picture) != nil {
+ if info.Picture.MediaObject != nil {
return fmt.Errorf("Room picture not supported on IRC")
}
return nil