mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Refactoring
This commit is contained in:
@@ -1520,7 +1520,7 @@ private func sendMessage(auxiliaryMethods: AccountAuxiliaryMethods, postbox: Pos
|
||||
}
|
||||
} else {
|
||||
replaceOutgoingOperationWithEmptyMessage(transaction: transaction, peerId: messageId.peerId, tagLocalIndex: tagLocalIndex, globallyUniqueId: Int64.random(in: Int64.min ... Int64.max))
|
||||
deleteMessages(transaction: transaction, mediaBox: postbox.mediaBox, ids: [messageId])
|
||||
_internal_deleteMessages(transaction: transaction, mediaBox: postbox.mediaBox, ids: [messageId])
|
||||
return .complete()
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user