mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios
This commit is contained in:
@@ -149,7 +149,7 @@ public struct CachedUserFlags: OptionSet {
|
||||
}
|
||||
|
||||
public static let translationHidden = CachedUserFlags(rawValue: 1 << 0)
|
||||
public static let isBlockedFromMyStories = CachedUserFlags(rawValue: 1 << 1)
|
||||
public static let isBlockedFromStories = CachedUserFlags(rawValue: 1 << 1)
|
||||
}
|
||||
|
||||
public final class EditableBotInfo: PostboxCoding, Equatable {
|
||||
|
||||
@@ -107,6 +107,7 @@ public struct Namespaces {
|
||||
public static let emojiSearchCategories: Int8 = 25
|
||||
public static let cachedEmojiQueryResults: Int8 = 26
|
||||
public static let cachedPeerStoryListHeads: Int8 = 27
|
||||
public static let displayedStoryNotifications: Int8 = 28
|
||||
}
|
||||
|
||||
public struct UnorderedItemList {
|
||||
|
||||
@@ -35,8 +35,8 @@ func _internal_addSynchronizeViewStoriesOperation(peerId: PeerId, storyId: Int32
|
||||
if let (topOperation, topLocalIndex) = topOperation {
|
||||
if topOperation.storyId < storyId {
|
||||
let _ = transaction.operationLogRemoveEntry(peerId: peerId, tag: tag, tagLocalIndex: topLocalIndex)
|
||||
replace = true
|
||||
}
|
||||
replace = true
|
||||
} else {
|
||||
replace = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user