mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Group boosts
This commit is contained in:
@@ -309,7 +309,11 @@ public func chatListItemStrings(strings: PresentationStrings, nameDisplayOrder:
|
||||
if let forwardInfo = message.forwardInfo, let author = forwardInfo.author {
|
||||
messageText = strings.Message_GiveawayStartedOther(EnginePeer(author).compactDisplayTitle).string
|
||||
} else {
|
||||
messageText = isPeerGroup ? strings.Message_GiveawayStartedGroup : strings.Message_GiveawayStarted
|
||||
if let author = message.author, case let .channel(channel) = author, case .group = channel.info {
|
||||
messageText = strings.Message_GiveawayStartedGroup
|
||||
} else {
|
||||
messageText = strings.Message_GiveawayStarted
|
||||
}
|
||||
}
|
||||
case let results as TelegramMediaGiveawayResults:
|
||||
if results.winnersCount == 0 {
|
||||
|
||||
Reference in New Issue
Block a user