From 876338370e7f6b7eef181cb57e347e6b85fecec0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=AEittaG=20ordnasselA?= Date: Thu, 23 May 2019 16:35:25 +0200 Subject: [PATCH] Ah right --- mods/mastodon.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/mastodon.go b/mods/mastodon.go index 6dc0d20..1a15b25 100644 --- a/mods/mastodon.go +++ b/mods/mastodon.go @@ -66,7 +66,7 @@ func mastodon_message(broker *tg.Broker, update tg.APIMessage) { if update.ReplyTo != nil { update.User = update.ReplyTo.User update.Text = update.ReplyTo.Text - if update.Text != nil && update.ReplyTo.Photo != nil { + if update.ReplyTo.Photo != nil { update.Photo = update.ReplyTo.Photo update.Caption = update.Text }