mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-03 05:03:45 +00:00
typo fixes. [skip ci]
This commit is contained in:
parent
72dd8f1151
commit
f8aea99a11
@ -75,7 +75,7 @@ func parseTelegramGroupOrChannel(chat: Api.Chat) -> Peer? {
|
||||
if (flags & Int32(1 << 8)) != 0 {
|
||||
var infoFlags = TelegramChannelGroupFlags()
|
||||
if (flags & Int32(1 << 22)) != 0 {
|
||||
infoFlags.insert(.isEnabledSlowMode)
|
||||
infoFlags.insert(.slowModeEnabled)
|
||||
}
|
||||
info = .group(TelegramChannelGroupInfo(flags: infoFlags))
|
||||
} else {
|
||||
|
||||
@ -72,7 +72,7 @@ public struct TelegramChannelGroupFlags: OptionSet {
|
||||
public init(rawValue: Int32) {
|
||||
self.rawValue = rawValue
|
||||
}
|
||||
public static let isEnabledSlowMode = TelegramChannelGroupFlags(rawValue: 1 << 0)
|
||||
public static let slowModeEnabled = TelegramChannelGroupFlags(rawValue: 1 << 0)
|
||||
}
|
||||
|
||||
public struct TelegramChannelGroupInfo: Equatable {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user