Refactor SyncCore back into TelegramCore

This commit is contained in:
Ali
2021-07-21 21:43:20 +02:00
parent be531ef93f
commit 1a04fb4408
1301 changed files with 14 additions and 1221 deletions

View File

@@ -1,5 +1,4 @@
import Postbox
import SyncCore
func cloudChatAddRemoveMessagesOperation(transaction: Transaction, peerId: PeerId, messageIds: [MessageId], type: CloudChatRemoveMessagesType) {
transaction.operationLogAddEntry(peerId: peerId, tag: OperationLogTags.CloudChatRemoveMessages, tagLocalIndex: .automatic, tagMergedIndex: .automatic, contents: CloudChatRemoveMessagesOperation(messageIds: messageIds, type: type))