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

@@ -4,7 +4,6 @@ import SwiftSignalKit
import TelegramApi
import MtProtoKit
import SyncCore
func _internal_updateAccountPeerName(account: Account, firstName: String, lastName: String) -> Signal<Void, NoError> {
return account.network.request(Api.functions.account.updateProfile(flags: (1 << 0) | (1 << 1), firstName: firstName, lastName: lastName, about: nil))