mirror of
https://github.com/danog/MadelineProto.git
synced 2025-01-23 04:51:13 +01:00
Revert broken logic
This commit is contained in:
parent
fc4880c192
commit
0ad5c2eaf1
@ -291,9 +291,6 @@ trait UpdateHandler
|
||||
yield from $this->getConfig();
|
||||
}
|
||||
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'];
|
||||
}
|
||||
$id = $this->getId($update);
|
||||
$chat = yield $this->full_chats[$id];
|
||||
$chat['last_update'] = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user