Fix command now fully working with json

This commit is contained in:
osaajani 2020-01-08 16:17:12 +01:00
parent 31d2739ccb
commit 929ea695e1
5 changed files with 18 additions and 16 deletions

View file

@ -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'];