From 74314696328a52779b83777eddac6bb506a3846b Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sat, 29 Feb 2020 18:30:43 +0100 Subject: Support for external processes; stub FB messenger bridge --- connector/irc/irc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'connector/irc') 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 -- cgit v1.2.3