mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
no message
This commit is contained in:
@@ -33,7 +33,7 @@ final class ChatMessageThrottledProcessingManager {
|
||||
|
||||
for id in messageIds {
|
||||
if let processedTimestamp = self.processed[id] {
|
||||
if let submitInterval = self.submitInterval, (timestamp - processedTimestamp) >= submitInterval {
|
||||
if let submitInterval = self.submitInterval, (submitInterval.isZero || (timestamp - processedTimestamp) >= submitInterval) {
|
||||
self.processed[id] = timestamp
|
||||
self.processedList.append(id)
|
||||
self.buffer.insert(id)
|
||||
|
||||
Reference in New Issue
Block a user