From 6f1879f359f1c88cdc75bd1f3659675f624d48f9 Mon Sep 17 00:00:00 2001 From: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> Date: Tue, 9 Apr 2019 10:55:13 +0100 Subject: [PATCH] Fix mismatching types error (#277) --- src/github.com/matrix-org/go-neb/services/rssbot/rssbot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github.com/matrix-org/go-neb/services/rssbot/rssbot.go b/src/github.com/matrix-org/go-neb/services/rssbot/rssbot.go index 301be36..32495c5 100644 --- a/src/github.com/matrix-org/go-neb/services/rssbot/rssbot.go +++ b/src/github.com/matrix-org/go-neb/services/rssbot/rssbot.go @@ -349,7 +349,7 @@ func (s *Service) sendToRooms(cli *gomatrix.Client, feedURL string, feed *gofeed } func itemToHTML(feed *gofeed.Feed, item gofeed.Item) gomatrix.HTMLMessage { - return &gomatrix.HTMLMessage{ + return gomatrix.HTMLMessage{ Body: fmt.Sprintf("%s: %s (%s)", html.EscapeString(feed.Title), html.EscapeString(item.Title), html.EscapeString(item.Link)), MsgType: "m.notice",