mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Refactor SyncCore
This commit is contained in:
21
submodules/SyncCore/Sources/LoggedOutAccountAttribute.swift
Normal file
21
submodules/SyncCore/Sources/LoggedOutAccountAttribute.swift
Normal file
@@ -0,0 +1,21 @@
|
||||
import Foundation
|
||||
#if os(macOS)
|
||||
import PostboxMac
|
||||
#else
|
||||
import Postbox
|
||||
#endif
|
||||
|
||||
public final class LoggedOutAccountAttribute: AccountRecordAttribute {
|
||||
public init() {
|
||||
}
|
||||
|
||||
public init(decoder: PostboxDecoder) {
|
||||
}
|
||||
|
||||
public func encode(_ encoder: PostboxEncoder) {
|
||||
}
|
||||
|
||||
public func isEqual(to: AccountRecordAttribute) -> Bool {
|
||||
return to is LoggedOutAccountAttribute
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user