mirror of
https://github.com/ichmagmaus111/ghostgram.git
synced 2026-07-31 11:37:25 +02:00
Update Ghostgram features
This commit is contained in:
@@ -4,9 +4,11 @@ import TelegramCore
|
||||
import TelegramUIPreferences
|
||||
import AccountContext
|
||||
|
||||
// GHOSTGRAM: Unlimited accounts bypass - always allow up to 10 accounts
|
||||
public let maximumNumberOfAccounts = 10
|
||||
public let maximumPremiumNumberOfAccounts = 10
|
||||
// MARK: Swiftgram compatibility
|
||||
public let maximumSwiftgramNumberOfAccounts = 500
|
||||
public let maximumSafeNumberOfAccounts = 6
|
||||
public let maximumNumberOfAccounts = maximumSwiftgramNumberOfAccounts
|
||||
public let maximumPremiumNumberOfAccounts = maximumSwiftgramNumberOfAccounts
|
||||
|
||||
public func activeAccountsAndPeers(context: AccountContext, includePrimary: Bool = false) -> Signal<((AccountContext, EnginePeer)?, [(AccountContext, EnginePeer, Int32)]), NoError> {
|
||||
let sharedContext = context.sharedContext
|
||||
|
||||
Reference in New Issue
Block a user