This commit is contained in:
Daniil Gentili 2017-06-08 15:52:06 +02:00
parent 13335ff17a
commit fa45c31a9b
2 changed files with 1 additions and 2 deletions

View File

@ -92,7 +92,7 @@ while (true) {
} }
break; break;
case 'updateNewEncryptedMessage': case 'updateNewEncryptedMessage':
var_dump($MadelineProto->download_to_dir($update['update']['message'], '.')); //var_dump($MadelineProto->download_to_dir($update['update']['message'], '.'));
if (isset($sent[$update['update']['message']['chat_id']])) { if (isset($sent[$update['update']['message']['chat_id']])) {
continue; continue;
} }

View File

@ -285,7 +285,6 @@ class MTProto extends \Volatile
} }
unset($this->data); unset($this->data);
} }
$this->secret_chats = [];
if ($this->authorized === true) { if ($this->authorized === true) {
$this->authorized = self::LOGGED_IN; $this->authorized = self::LOGGED_IN;
} }