mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Merge commit '0efbccc78cc68c963f9dfa8c19428dc20d0a5ab2'
This commit is contained in:
@@ -300,6 +300,12 @@ public final class PendingMessageManager {
|
||||
} else {
|
||||
messageContext.state = .waitingForUploadToStart(groupId: message.groupingKey, upload: contentUploadSignal)
|
||||
}
|
||||
|
||||
if let _ = currentGroupId, message.groupingKey != currentGroupId {
|
||||
currentGroupId = nil
|
||||
} else {
|
||||
currentGroupId = message.groupingKey
|
||||
}
|
||||
}
|
||||
|
||||
if let currentGroupId = currentGroupId {
|
||||
@@ -469,9 +475,9 @@ public final class PendingMessageManager {
|
||||
if let current = strongSelf.messageContexts[id] {
|
||||
strongSelf.beginSendingMessage(messageContext: current, messageId: id, groupId: groupId, content: content)
|
||||
strongSelf.updateWaitingUploads(peerId: id.peerId)
|
||||
if let groupId = groupId {
|
||||
strongSelf.beginSendingGroupIfPossible(groupId: groupId)
|
||||
}
|
||||
//if let groupId = groupId {
|
||||
// strongSelf.beginSendingGroupIfPossible(groupId: groupId)
|
||||
// }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user