Implement copy restriction and send as peer

This commit is contained in:
Ilya Laktyushin
2021-11-05 21:45:48 +04:00
parent 003d263ebd
commit 1a717fbda5
37 changed files with 1004 additions and 216 deletions

View File

@@ -2444,7 +2444,7 @@ class ChatControllerNode: ASDisplayNode, UIScrollViewDelegate {
messages.append(.forward(source: id, grouping: .auto, attributes: attributes, correlationId: nil))
}
}
var usedCorrelationId: Int64?
if !messages.isEmpty, case .message = messages[messages.count - 1] {