mirror of
https://github.com/ichmagmaus111/ghostgram.git
synced 2026-09-21 03:40:43 +02:00
chore: migrate to new version + fixed several critical bugs
- Migrated project to latest Telegram iOS base (v12.3.2+) - Fixed circular dependency between GhostModeManager and MiscSettingsManager - Fixed multiple Bazel build configuration errors (select() default conditions) - Fixed duplicate type definitions in PeerInfoScreen - Fixed swiftmodule directory resolution in build scripts - Added Ghostgram Settings tab in main Settings menu with all 5 features - Cleared sensitive credentials from config.json (template-only now) - Excluded bazel-cache from version control
This commit is contained in:
@@ -4,8 +4,9 @@ import TelegramCore
|
||||
import TelegramUIPreferences
|
||||
import AccountContext
|
||||
|
||||
public let maximumNumberOfAccounts = 3
|
||||
public let maximumPremiumNumberOfAccounts = 4
|
||||
// GHOSTGRAM: Unlimited accounts bypass - always allow up to 10 accounts
|
||||
public let maximumNumberOfAccounts = 10
|
||||
public let maximumPremiumNumberOfAccounts = 10
|
||||
|
||||
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