mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-04 00:25:17 +00:00
half of all boxes redesigned
This commit is contained in:
@@ -340,8 +340,8 @@ void ProfileInner::blockDone(bool blocked, const MTPBool &result) {
|
||||
}
|
||||
|
||||
bool ProfileInner::blockFail(const RPCError &error) {
|
||||
if (error.type().startsWith(qsl("FLOOD_WAIT_"))) return false;
|
||||
|
||||
if (mtpIsFlood(error)) return false;
|
||||
|
||||
_blockRequest = 0;
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user