mirror of
https://github.com/ichmagmaus111/ghostgram.git
synced 2026-04-24 08:36:07 +02:00
10 lines
212 B
Swift
10 lines
212 B
Swift
import Foundation
|
|
|
|
func processedPeerRestrictionText(_ text: String) -> String {
|
|
if let range = text.range(of: ":") {
|
|
return String(text[range.upperBound...])
|
|
} else {
|
|
return text
|
|
}
|
|
}
|