mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Various improvements
This commit is contained in:
@@ -8,6 +8,8 @@ extension RestrictionRule {
|
||||
switch apiReason {
|
||||
case let .restrictionReason(platform, reason, text):
|
||||
self.init(platform: platform, reason: reason, text: text)
|
||||
case let .restrictionReasonSensitive(platform):
|
||||
self.init(platform: platform)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user