From 35aeebe0764e21aac2dd7cda4977b9b181fed597 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Sun, 20 Aug 2023 22:16:09 +0200 Subject: [PATCH] Fix --- magna.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magna.php b/magna.php index c35d621..aedf7df 100755 --- a/magna.php +++ b/magna.php @@ -274,7 +274,7 @@ Note for iOS users: the official Telegram iOS app has a bug which prevents me fr public function callRunning(VoIP&Running $call): void { try { - $message = 'Total running calls: '.count($this->calls).PHP_EOL.PHP_EOL; + $message = 'Total running calls: '.(count($this->calls)+1).PHP_EOL.PHP_EOL; $message .= PHP_EOL.PHP_EOL.PHP_EOL; $message .= "Emojis: ".implode('', $call->getVisualization() ?? []);