Added share button for instant videos

Fixed new contact adding
Fixed call rating
This commit is contained in:
Ilya Laktyushin
2018-12-20 14:58:13 +04:00
parent b7ebaa29db
commit 90b2c8761c
16 changed files with 244 additions and 71 deletions

View File

@@ -1086,9 +1086,9 @@ public final class ChatController: TelegramController, KeyShortcutResponder, Gal
self?.present(controller, in: .window(.root), with: arguments)
})
}
}, rateCall: { [weak self] message in
}, rateCall: { [weak self] message, callId in
if let strongSelf = self {
let controller = callRatingController(account: strongSelf.account, report: ReportCallRating(id: 0, accessHash: 0), present: { [weak self] controller in
let controller = callRatingController(account: strongSelf.account, callId: callId, present: { [weak self] controller in
if let strongSelf = self {
strongSelf.present(controller, in: .window(.root))
}