Browse Source

Fix attachments being omitted from postback (#1557)

Robert R George 1 year ago
parent
commit
c911aeb20e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      internal/messenger/postback/postback.go

+ 1 - 0
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()