From 52303d3d3066223f4ca90a27f42529617173e3df Mon Sep 17 00:00:00 2001 From: Martin Dosch Date: Fri, 1 Feb 2019 14:39:25 +0100 Subject: [PATCH] Adjusted for mastodon. --- feed-to-muc.go | 2 +- getarticles.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/feed-to-muc.go b/feed-to-muc.go index 18e8e77..fe08902 100644 --- a/feed-to-muc.go +++ b/feed-to-muc.go @@ -116,7 +116,7 @@ func main() { Password: config.Password, NoTLS: true, StartTLS: true, - Debug: false, + Debug: true, } // Connect to server. diff --git a/getarticles.go b/getarticles.go index 5fc924d..d41987f 100644 --- a/getarticles.go +++ b/getarticles.go @@ -205,7 +205,7 @@ func getArticles(feedURL string, max int, noExcerpt bool) (string, error) { return "", err } - output = output + "Kuketz-Blog: " + mastodonContent + "\n\n" + cleanURL + output = output + mastodonContent + "\n\n" + cleanURL if i > 0 { output = output + "\n\n---\n\n"