From e02e042740f3a9d62a247abca3e71dc185a08883 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Mon, 31 Jul 2017 17:38:10 +0000 Subject: [PATCH] Apply fixes from StyleCI --- magna.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/magna.php b/magna.php index 41ecfce2..f0820472 100755 --- a/magna.php +++ b/magna.php @@ -85,8 +85,8 @@ $m = new \danog\MadelineProto\API($settings); $m->import_authorization($MadelineProto->export_authorization()); */ $songs = [ - 'Aronchupa - Little Swing' => 'input.raw', - 'Parov Stelar - Booty Swing' => 'inputa.raw', + 'Aronchupa - Little Swing' => 'input.raw', + 'Parov Stelar - Booty Swing' => 'inputa.raw', 'Caravan Palace - Lone Digger' => 'inputb.raw', // 'Swingrowers - Butterfly' => 'inputc.raw', 'Postmodern Jukebox - Thrift Shop' => 'inputd.raw', @@ -117,9 +117,9 @@ $calls = []; var_dump($update['update']['phone_call']->configuration['shared_config']); */ try { -// $MadelineProto->messages->sendMessage(['peer' => $update['update']['phone_call']->getOtherID(), 'message' => 'Emojis: '.implode('', $update['update']['phone_call']->getVisualization())]); - } catch (\danog\MadelineProto\RPCErrorException $e) {} - + // $MadelineProto->messages->sendMessage(['peer' => $update['update']['phone_call']->getOtherID(), 'message' => 'Emojis: '.implode('', $update['update']['phone_call']->getVisualization())]); + } catch (\danog\MadelineProto\RPCErrorException $e) { + } } }