Ah right
This commit is contained in:
parent
6107a0495a
commit
876338370e
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ func mastodon_message(broker *tg.Broker, update tg.APIMessage) {
|
||||||
if update.ReplyTo != nil {
|
if update.ReplyTo != nil {
|
||||||
update.User = update.ReplyTo.User
|
update.User = update.ReplyTo.User
|
||||||
update.Text = update.ReplyTo.Text
|
update.Text = update.ReplyTo.Text
|
||||||
if update.Text != nil && update.ReplyTo.Photo != nil {
|
if update.ReplyTo.Photo != nil {
|
||||||
update.Photo = update.ReplyTo.Photo
|
update.Photo = update.ReplyTo.Photo
|
||||||
update.Caption = update.Text
|
update.Caption = update.Text
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue