From d967560974f5a43eb0b763baf523640fdc4d4ae2 Mon Sep 17 00:00:00 2001 From: Rowan Seymour Date: Wed, 21 Jul 2021 13:03:09 -0500 Subject: [PATCH] Set sent_on for outgoing IVR messages --- core/models/msgs.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/models/msgs.go b/core/models/msgs.go index e75b2d6c2..998672e54 100644 --- a/core/models/msgs.go +++ b/core/models/msgs.go @@ -275,6 +275,7 @@ func NewOutgoingIVR(orgID OrgID, conn *ChannelConnection, out *flows.MsgOut, cre m.OrgID = orgID m.TopupID = NilTopupID m.CreatedOn = createdOn + m.SentOn = createdOn msg.SetChannelID(conn.ChannelID()) // if we have attachments, add them