mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Story improvements
This commit is contained in:
@@ -23,10 +23,10 @@ public struct CachedChannelFlags: OptionSet {
|
||||
}
|
||||
|
||||
public struct CachedChannelParticipantsSummary: PostboxCoding, Equatable {
|
||||
public let memberCount: Int32?
|
||||
public let adminCount: Int32?
|
||||
public let bannedCount: Int32?
|
||||
public let kickedCount: Int32?
|
||||
public var memberCount: Int32?
|
||||
public var adminCount: Int32?
|
||||
public var bannedCount: Int32?
|
||||
public var kickedCount: Int32?
|
||||
|
||||
public init(memberCount: Int32?, adminCount: Int32?, bannedCount: Int32?, kickedCount: Int32?) {
|
||||
self.memberCount = memberCount
|
||||
|
||||
@@ -16,6 +16,6 @@ public final class CachedLocalizationInfos: Codable {
|
||||
public func encode(to encoder: Encoder) throws {
|
||||
var container = encoder.container(keyedBy: StringCodingKey.self)
|
||||
|
||||
try container.encode(self.list, forKey: "l")
|
||||
try container.encode(self.list, forKey: "t")
|
||||
}
|
||||
}
|
||||
|
||||
@@ -109,6 +109,7 @@ public struct Namespaces {
|
||||
public static let cachedEmojiQueryResults: Int8 = 26
|
||||
public static let cachedPeerStoryListHeads: Int8 = 27
|
||||
public static let displayedStoryNotifications: Int8 = 28
|
||||
public static let storySendAsPeerIds: Int8 = 29
|
||||
}
|
||||
|
||||
public struct UnorderedItemList {
|
||||
|
||||
Reference in New Issue
Block a user