1
0
mirror of https://github.com/danog/magnaluna.git synced 2024-11-30 04:19:16 +01:00
This commit is contained in:
Daniil Gentili 2023-09-09 17:33:07 +02:00
parent 453cf521d7
commit 32214a5ad3
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -26,6 +26,7 @@ use danog\MadelineProto\LocalFile;
use danog\MadelineProto\Ogg; use danog\MadelineProto\Ogg;
use danog\MadelineProto\ParseMode; use danog\MadelineProto\ParseMode;
use danog\MadelineProto\RPCErrorException; use danog\MadelineProto\RPCErrorException;
use danog\MadelineProto\Settings;
use danog\MadelineProto\SimpleEventHandler; use danog\MadelineProto\SimpleEventHandler;
use danog\MadelineProto\Tools; use danog\MadelineProto\Tools;
use danog\MadelineProto\VoIP; use danog\MadelineProto\VoIP;
@ -331,4 +332,7 @@ Note for iOS users: the official Telegram iOS app has a bug which prevents me fr
} }
} }
MyEventHandler::startAndLoop('magna.madeline'); $settings = new Settings;
$settings->getSecretChats()->setAccept(false);
MyEventHandler::startAndLoop('magna.madeline', $settings);