mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-09 03:20:48 +00:00
Stories
This commit is contained in:
parent
dd06ff38d0
commit
f7ce9d4ecf
@ -1646,7 +1646,7 @@ public class ChatListControllerImpl: TelegramBaseController, ChatListController
|
||||
|
||||
for filter in filters {
|
||||
if filter.id == filterId, case let .filter(_, title, _, data) = filter {
|
||||
if let filterPeersAreMuted {
|
||||
if let filterPeersAreMuted, filterPeersAreMuted.peerIds.count <= 200 {
|
||||
items.append(.action(ContextMenuActionItem(text: filterPeersAreMuted.areMuted ? strongSelf.presentationData.strings.ChatList_ContextUnmuteAll : strongSelf.presentationData.strings.ChatList_ContextMuteAll, textColor: .primary, badge: nil, icon: { theme in
|
||||
return generateTintedImage(image: UIImage(bundleImageName: filterPeersAreMuted.areMuted ? "Chat/Context Menu/Unmute" : "Chat/Context Menu/Muted"), color: theme.contextMenu.primaryColor)
|
||||
}, action: { c, f in
|
||||
|
@ -70,7 +70,7 @@ extension TelegramUser {
|
||||
|
||||
var storiesHidden: Bool?
|
||||
if !isMin {
|
||||
storiesHidden = (flags2 & (1 << 5)) != 0
|
||||
storiesHidden = (flags2 & (1 << 3)) != 0
|
||||
}
|
||||
|
||||
var botInfo: BotUserInfo?
|
||||
|
Loading…
x
Reference in New Issue
Block a user