mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-21 00:46:27 +02:00
Working octopush shortcode
This commit is contained in:
parent
017c7fee53
commit
88ebc8042c
3 changed files with 183 additions and 102 deletions
|
@ -191,7 +191,7 @@ use Monolog\Logger;
|
|||
}
|
||||
|
||||
$sms = $response['sms'];
|
||||
$mms = (bool) $sms['mms'] ?? false;
|
||||
$mms = (bool) ($sms['mms'] ?? false);
|
||||
$medias = empty($sms['medias']) ? [] : $sms['medias'];
|
||||
|
||||
$response = $this->internal_received->receive($this->user['id'], $id_phone, $sms['text'], $sms['origin'], $sms['at'], \models\Received::STATUS_UNREAD, $mms, $medias);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue