mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-21 17:06:28 +02:00
Fix command now fully working with json
This commit is contained in:
parent
31d2739ccb
commit
929ea695e1
5 changed files with 18 additions and 16 deletions
|
@ -146,6 +146,7 @@ class Phone extends AbstractDaemon
|
|||
$this->logger->info('Receive message : ' . json_encode($sms));
|
||||
|
||||
$command_result = $this->process_for_command($sms);
|
||||
$this->logger->info('after command');
|
||||
$sms['text'] = $command_result['text'];
|
||||
$is_command = $command_result['is_command'];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue