mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Various fixes
This commit is contained in:
@@ -393,10 +393,18 @@ public func universalServiceMessageString(presentationData: (PresentationTheme,
|
||||
string = strings.Conversation_AutoremoveTimerRemovedUser(authorString).string
|
||||
}
|
||||
} else if let _ = messagePeer as? TelegramGroup {
|
||||
string = strings.Conversation_AutoremoveTimerRemovedGroup
|
||||
if message.author?.id == accountPeerId {
|
||||
string = strings.Conversation_AutoremoveTimerRemovedUserYou
|
||||
} else {
|
||||
string = strings.Conversation_AutoremoveTimerRemovedGroup
|
||||
}
|
||||
} else if let channel = messagePeer as? TelegramChannel {
|
||||
if case .group = channel.info {
|
||||
string = strings.Conversation_AutoremoveTimerRemovedGroup
|
||||
if message.author?.id == accountPeerId {
|
||||
string = strings.Conversation_AutoremoveTimerRemovedUserYou
|
||||
} else {
|
||||
string = strings.Conversation_AutoremoveTimerRemovedGroup
|
||||
}
|
||||
} else {
|
||||
string = strings.Conversation_AutoremoveTimerRemovedChannel
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user