mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Saved message improvements
This commit is contained in:
@@ -24,11 +24,13 @@ extension ChatControllerImpl {
|
||||
var openClearHistory: ((Int32) -> Void)?
|
||||
|
||||
let enableMessageRangeDeletion: Bool = peerId.namespace == Namespaces.Peer.CloudUser
|
||||
|
||||
let displayMedia = self.presentationInterfaceState.historyFilter == nil
|
||||
|
||||
let calendarScreen = CalendarMessageScreen(
|
||||
context: self.context,
|
||||
peerId: peerId,
|
||||
calendarSource: self.context.engine.messages.sparseMessageCalendar(peerId: peerId, threadId: self.chatLocation.threadId, tag: .photoOrVideo),
|
||||
calendarSource: self.context.engine.messages.sparseMessageCalendar(peerId: peerId, threadId: self.chatLocation.threadId, tag: .photoOrVideo, displayMedia: displayMedia),
|
||||
initialTimestamp: initialTimestamp,
|
||||
enableMessageRangeDeletion: enableMessageRangeDeletion,
|
||||
canNavigateToEmptyDays: true,
|
||||
|
||||
Reference in New Issue
Block a user