1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 06:34:41 +01:00

Avoid problems with old sessions

This commit is contained in:
Daniil Gentili 2020-12-24 20:16:19 +01:00
parent 5d88935734
commit 1ca0a6c84b
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -33,11 +33,11 @@ class Button implements \JsonSerializable, \ArrayAccess
* *
* @psalm-var non-empty-array<array-key, mixed> * @psalm-var non-empty-array<array-key, mixed>
*/ */
private array $button; private array $button = [];
/** /**
* Session name. * Session name.
*/ */
private string $session; private string $session = '';
/** /**
* MTProto instance. * MTProto instance.
* *