mirror of
https://github.com/danog/magnaluna.git
synced 2024-12-02 09:17:49 +01:00
Small fix
This commit is contained in:
parent
35aeebe076
commit
af1848cae0
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user