mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Various improvements
This commit is contained in:
@@ -332,7 +332,7 @@ public class AttachmentTextInputPanelNode: ASDisplayNode, TGCaptionPanelView, AS
|
||||
if let peer = peer {
|
||||
return self.context.engine.data.get(TelegramEngine.EngineData.Item.Configuration.UserLimits.init(isPremium: peer.isPremium))
|
||||
|> map { limits in
|
||||
return limits.maxCaptionLengthCount
|
||||
return limits.maxCaptionLength
|
||||
}
|
||||
} else {
|
||||
return .complete()
|
||||
|
||||
Reference in New Issue
Block a user