mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-02 00:17:02 +00:00
Fix build
This commit is contained in:
parent
f4d586f41d
commit
ce83d7510f
@ -5,7 +5,7 @@ import TelegramApi
|
|||||||
internal func _internal_updateIsPremiumRequiredToContact(account: Account, peerIds: [EnginePeer.Id]) -> Signal<[EnginePeer.Id], NoError> {
|
internal func _internal_updateIsPremiumRequiredToContact(account: Account, peerIds: [EnginePeer.Id]) -> Signal<[EnginePeer.Id], NoError> {
|
||||||
return account.postbox.transaction { transaction -> ([Api.InputUser], [PeerId], [PeerId]) in
|
return account.postbox.transaction { transaction -> ([Api.InputUser], [PeerId], [PeerId]) in
|
||||||
var inputUsers: [Api.InputUser] = []
|
var inputUsers: [Api.InputUser] = []
|
||||||
var premiumRequired:[EnginePeer.Id] = []
|
let premiumRequired: [EnginePeer.Id] = []
|
||||||
var ids:[PeerId] = []
|
var ids:[PeerId] = []
|
||||||
for id in peerIds {
|
for id in peerIds {
|
||||||
if let peer = transaction.getPeer(id), let inputUser = apiInputUser(peer) {
|
if let peer = transaction.getPeer(id), let inputUser = apiInputUser(peer) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user