mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-30 10:59:02 +01:00
Avoid problems with old sessions
This commit is contained in:
parent
5d88935734
commit
1ca0a6c84b
@ -33,11 +33,11 @@ class Button implements \JsonSerializable, \ArrayAccess
|
||||
*
|
||||
* @psalm-var non-empty-array<array-key, mixed>
|
||||
*/
|
||||
private array $button;
|
||||
private array $button = [];
|
||||
/**
|
||||
* Session name.
|
||||
*/
|
||||
private string $session;
|
||||
private string $session = '';
|
||||
/**
|
||||
* MTProto instance.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user