Adapt magnaluna
This commit is contained in:
parent
c66e1fcbef
commit
7588108ffa
2
docs
2
docs
@ -1 +1 @@
|
||||
Subproject commit 0fc9b14f85e87ca38c3ce01ba6e4a43aaa3707f4
|
||||
Subproject commit fe346258733323e5173e674f15059dea1a1eb880
|
@ -63,9 +63,8 @@ class MessageLoop extends ResumableSignalLoop
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
yield $MadelineProto->messages->editMessage(['id' => $this->call->mId, 'peer' => $this->call->getOtherID(), 'message' => 'Total running calls: '.count($MadelineProto->getEventHandler()->calls).PHP_EOL.PHP_EOL.$this->call->getDebugString()]);
|
||||
yield $MadelineProto->messages->editMessage(['id' => $this->call->mId, 'peer' => $this->call->getOtherID(), 'message' => 'Total running calls: '.count(yield $MadelineProto->getEventHandler()->calls).PHP_EOL.PHP_EOL.$this->call->getDebugString()]);
|
||||
} catch (\danog\MadelineProto\RPCErrorException $e) {
|
||||
$MadelineProto->logger($e);
|
||||
}
|
||||
@ -151,6 +150,7 @@ class EventHandler extends \danog\MadelineProto\EventHandler
|
||||
private $statusLoops = [];
|
||||
private $programmed_call;
|
||||
private $my_users;
|
||||
public $calls = [];
|
||||
public function configureCall($call)
|
||||
{
|
||||
include 'songs.php';
|
||||
|
Loading…
Reference in New Issue
Block a user