mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Invite Links Improvements
This commit is contained in:
@@ -652,7 +652,15 @@ private func userInfoEntries(account: Account, presentationData: PresentationDat
|
||||
} else {
|
||||
aboutTitle = presentationData.strings.Profile_About
|
||||
}
|
||||
if user.isScam {
|
||||
if user.isFake {
|
||||
let aboutValue: String
|
||||
if let _ = user.botInfo {
|
||||
aboutValue = presentationData.strings.UserInfo_FakeBotWarning
|
||||
} else {
|
||||
aboutValue = presentationData.strings.UserInfo_FakeUserWarning
|
||||
}
|
||||
entries.append(UserInfoEntry.about(presentationData.theme, peer, aboutTitle, aboutValue))
|
||||
} else if user.isScam {
|
||||
let aboutValue: String
|
||||
if let _ = user.botInfo {
|
||||
aboutValue = presentationData.strings.UserInfo_ScamBotWarning
|
||||
|
||||
Reference in New Issue
Block a user