aboutsummaryrefslogtreecommitdiff
path: root/connector/irc
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-02-29 18:30:43 +0100
committerAlex Auvolat <alex@adnab.me>2020-02-29 18:34:14 +0100
commit74314696328a52779b83777eddac6bb506a3846b (patch)
tree599cf464488ee5137ab1b02d3b5d6c8381a483bc /connector/irc
parent2649e41c85283c680b9e1aa3294868b985aecc22 (diff)
downloadeasybridge-74314696328a52779b83777eddac6bb506a3846b.tar.gz
easybridge-74314696328a52779b83777eddac6bb506a3846b.zip
Support for external processes; stub FB messenger bridge
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 4e5f4fd..4d014e8 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 info.Picture != nil {
+ if MediaObject(info.Picture) != nil {
return fmt.Errorf("Room picture not supported on IRC")
}
return nil