From 136b3f76ce2d60e56c3624ca65d5f13d907cdf56 Mon Sep 17 00:00:00 2001 From: osaajani <> Date: Fri, 19 Mar 2021 21:59:49 +0100 Subject: [PATCH] working api scheduled + working daemons for phone and sender + working adapters --- controllers/internals/Scheduled.php | 2 +- daemons/Sender.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/controllers/internals/Scheduled.php b/controllers/internals/Scheduled.php index 25d1a35..977478f 100644 --- a/controllers/internals/Scheduled.php +++ b/controllers/internals/Scheduled.php @@ -253,7 +253,7 @@ namespace controllers\internals; /** * Get all messages to send and the number to use to send theme. * - * @return array : [['id_scheduled', 'text', 'id_phone', 'destination', 'flash'], ...] + * @return array : [['id_scheduled', 'text', 'id_phone', 'destination', 'flash', 'mms', 'medias'], ...] */ public function get_smss_to_send() { diff --git a/daemons/Sender.php b/daemons/Sender.php index 202349f..a5504bb 100644 --- a/daemons/Sender.php +++ b/daemons/Sender.php @@ -76,6 +76,8 @@ class Sender extends AbstractDaemon 'id_phone' => $sms['id_phone'], 'destination' => $sms['destination'], 'flash' => $sms['flash'], + 'mms' => $sms['mms'], + 'medias' => $sms['medias'] ?? [], ]; msg_send($this->queues[$queue_id], QUEUE_TYPE_SEND_MSG, $msg);