mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-01 16:06:59 +00:00
don't let messages pile up
This commit is contained in:
parent
c95d80ffd8
commit
150b56be6d
@ -859,6 +859,7 @@
|
||||
|
||||
- (void)submitPendingMessages {
|
||||
if (_networkRequestInProgress) {
|
||||
[[self class] cancelPreviousPerformRequestsWithTarget:self selector:@selector(submitPendingMessages) object:nil];
|
||||
[self performSelector:@selector(submitPendingMessages) withObject:nil afterDelay:2.0f];
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user