mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-11-20 07:25:22 +00:00
no message
This commit is contained in:
parent
307a1257d6
commit
a00bb22da1
@ -274,6 +274,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 {
|
||||
@ -442,9 +448,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)
|
||||
// }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user