mirror of
https://github.com/danog/MadelineProto.git
synced 2025-01-22 22:51:11 +01:00
Small fix
This commit is contained in:
parent
46b593f01b
commit
43dd0229e8
2
docs
2
docs
@ -1 +1 @@
|
||||
Subproject commit 66534a555ecf7967127876d21cb84b2e300db6d9
|
||||
Subproject commit 81ed0ba2f958f85cfaea90836ea76991e9345833
|
@ -292,7 +292,7 @@ trait UpdateHandler
|
||||
}
|
||||
if (\in_array($update['_'], ['updateUserName', 'updateUserPhone', 'updateUserBlocked', 'updateUserPhoto', 'updateContactRegistered', 'updateContactLink']) && $this->getSettings()->getDb()->getEnableFullPeerDb()) {
|
||||
if ($update['_'] === 'updateUserName') {
|
||||
$update = yield from $this->resolveUsername($update['username'])['peer'];
|
||||
$update = (yield from $this->resolveUsername($update['username']))['peer'];
|
||||
}
|
||||
$id = $this->getId($update);
|
||||
$chat = yield $this->full_chats[$id];
|
||||
|
Loading…
x
Reference in New Issue
Block a user