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

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
}