1
0
mirror of https://github.com/danog/magnaluna.git synced 2024-12-02 09:17:49 +01:00

Small fix

This commit is contained in:
Daniil Gentili 2023-08-20 22:25:28 +02:00
parent 35aeebe076
commit af1848cae0
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -273,6 +273,9 @@ Note for iOS users: the official Telegram iOS app has a bug which prevents me fr
#[Handler] #[Handler]
public function callRunning(VoIP&Running $call): void public function callRunning(VoIP&Running $call): void
{ {
if (isset($this->calls[$call->otherID])) {
return;
}
try { try {
$message = 'Total running calls: '.(count($this->calls)+1).PHP_EOL.PHP_EOL; $message = 'Total running calls: '.(count($this->calls)+1).PHP_EOL.PHP_EOL;
$message .= PHP_EOL.PHP_EOL.PHP_EOL; $message .= PHP_EOL.PHP_EOL.PHP_EOL;