Search filters improvements

This commit is contained in:
Ilya Laktyushin
2020-09-10 15:17:21 +03:00
parent a05970c379
commit a353608f4f
12 changed files with 4292 additions and 4355 deletions

View File

@@ -133,7 +133,9 @@ func openChatMessageImpl(_ params: OpenChatMessageParams) -> Bool {
control = .seek(time)
}
if (file.isVoice || file.isInstantVideo) && params.message.tags.contains(.voiceOrInstantVideo) {
if params.standalone {
if let playlistLocation = params.playlistLocation {
location = playlistLocation
} else if params.standalone {
location = .recentActions(params.message)
} else {
location = .messages(peerId: params.message.id.peerId, tagMask: .voiceOrInstantVideo, at: params.message.id)