From c911aeb20e5a40f8204da106a477e619ef7ab707 Mon Sep 17 00:00:00 2001 From: Robert R George Date: Fri, 13 Oct 2023 13:36:42 -0700 Subject: [PATCH] Fix attachments being omitted from postback (#1557) --- internal/messenger/postback/postback.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/messenger/postback/postback.go b/internal/messenger/postback/postback.go index 01c6f75..736803d 100644 --- a/internal/messenger/postback/postback.go +++ b/internal/messenger/postback/postback.go @@ -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()