Skip to content

Commit

Permalink
Fix attachments being omitted from postback (#1557)
Browse files Browse the repository at this point in the history
  • Loading branch information
rrgeorge committed Oct 13, 2023
1 parent 954ed45 commit c911aeb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/messenger/postback/postback.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ func (p *Postback) Push(m models.Message) error {
copy(a.Content, f.Content)
files = append(files, a)
}
pb.Attachments = files
}

b, err := pb.MarshalJSON()
Expand Down

0 comments on commit c911aeb

Please sign in to comment.