From 60b3fa2495b5c018ac06d03fbcb2cf487ce4d44b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=AEittaG=20ordnasselA?= Date: Thu, 23 May 2019 14:36:18 +0200 Subject: [PATCH] Add spacing --- mods/mastodon.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/mastodon.go b/mods/mastodon.go index a680150..b3820c6 100644 --- a/mods/mastodon.go +++ b/mods/mastodon.go @@ -112,7 +112,7 @@ func mastodon_message(broker *tg.Broker, update tg.APIMessage) { return } - status, err := sendToot(strings.TrimSpace(fmt.Sprintf("%s\n(da %s)", *(update.Caption), update.User.FirstName)), attach.ID) + status, err := sendToot(strings.TrimSpace(fmt.Sprintf("%s\n\n(da %s)", *(update.Caption), update.User.FirstName)), attach.ID) if err != nil { log.Printf("[mastodon] Send toot failed: %s\n", err.Error()) broker.SendTextMessage(update.Chat, "ERRORE! @hamcha controlla la console!", &tg.MessageOptions{ @@ -127,7 +127,7 @@ func mastodon_message(broker *tg.Broker, update tg.APIMessage) { return } - status, err := sendToot(fmt.Sprintf("%s\n(da %s)", *(update.Text), update.User.FirstName), "") + status, err := sendToot(fmt.Sprintf("%s\n\n(da %s)", *(update.Text), update.User.FirstName), "") if err != nil { log.Printf("[mastodon] Send toot failed: %s\n", err.Error()) broker.SendTextMessage(update.Chat, "ERRORE! @hamcha controlla la console!", &tg.MessageOptions{