This commit is contained in:
Hamcha 2019-05-23 16:35:25 +02:00
parent 6107a0495a
commit 876338370e
Signed by: hamcha
GPG Key ID: A40413D21021EAEE
1 changed files with 1 additions and 1 deletions

View File

@ -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
}