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:
@@ -141,6 +141,14 @@ public final class PendingMessageManager {
|
||||
updateUploadingPeerIds.insert(id.peerId)
|
||||
context.sendDisposable.dispose()
|
||||
context.uploadDisposable.dispose()
|
||||
|
||||
if context.status != nil {
|
||||
context.status = nil
|
||||
for subscriber in context.statusSubscribers.copyItems() {
|
||||
subscriber(nil)
|
||||
}
|
||||
}
|
||||
|
||||
if context.statusSubscribers.isEmpty {
|
||||
self.messageContexts.removeValue(forKey: id)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user