mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Autremove fixes
Failable postbox intializers for use in extensions
This commit is contained in:
@@ -219,6 +219,8 @@ public func temporaryAccount(manager: AccountManager, rootPath: String, encrypti
|
||||
switch result {
|
||||
case .upgrading:
|
||||
return .complete()
|
||||
case .error:
|
||||
return .complete()
|
||||
case let .postbox(postbox):
|
||||
return .single(TemporaryAccount(id: id, basePath: path, postbox: postbox))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user