diff --git a/backends/rapidpro/backend_test.go b/backends/rapidpro/backend_test.go index 31994e8a7..1aaef4e68 100644 --- a/backends/rapidpro/backend_test.go +++ b/backends/rapidpro/backend_test.go @@ -1142,8 +1142,6 @@ func (ts *BackendTestSuite) TestWriteMsg() { "contact_id": float64(contact.ID_), "org_id": float64(1), "channel_id": float64(10), - "channel_uuid": "dbc126ed-66bc-4e28-b67b-81dc3327c95d", - "channel_type": "KN", "msg_id": float64(msg.ID_), "msg_uuid": msg.UUID_.String(), "msg_external_id": msg.ExternalID(), @@ -1152,7 +1150,6 @@ func (ts *BackendTestSuite) TestWriteMsg() { "text": msg.Text(), "attachments": nil, "new_contact": contact.IsNew_, - "created_on": msg.CreatedOn_.Format(time.RFC3339Nano), }, body["task"]) } diff --git a/backends/rapidpro/task.go b/backends/rapidpro/task.go index 9ba96f869..d8c73cf8a 100644 --- a/backends/rapidpro/task.go +++ b/backends/rapidpro/task.go @@ -17,8 +17,6 @@ func queueMsgHandling(rc redis.Conn, c *DBContact, m *DBMsg) error { "contact_id": c.ID_, "org_id": channel.OrgID_, "channel_id": channel.ID_, - "channel_uuid": channel.UUID_, // deprecated - "channel_type": channel.ChannelType_, // deprecated "msg_id": m.ID_, "msg_uuid": m.UUID_.String(), "msg_external_id": m.ExternalID(), @@ -27,7 +25,6 @@ func queueMsgHandling(rc redis.Conn, c *DBContact, m *DBMsg) error { "text": m.Text(), "attachments": m.Attachments(), "new_contact": c.IsNew_, - "created_on": m.CreatedOn_, } return queueMailroomTask(rc, "msg_event", m.OrgID_, m.ContactID_, body)