mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-19 12:10:55 +00:00
no message
This commit is contained in:
parent
36adf94aef
commit
c60255eaa3
@ -53,6 +53,13 @@ public final class Modifier {
|
||||
public func clearHistory(_ peerId: PeerId) {
|
||||
self.postbox?.clearHistory(peerId)
|
||||
}
|
||||
public func messageIdsForGlobalIds(_ ids: [Int32]) -> [MessageId] {
|
||||
if let postbox = self.postbox {
|
||||
return postbox.messageIdsForGlobalIds(ids)
|
||||
} else {
|
||||
return []
|
||||
}
|
||||
}
|
||||
|
||||
public func deleteMessagesWithGlobalIds(_ ids: [Int32]) {
|
||||
if let postbox = self.postbox {
|
||||
|
Loading…
x
Reference in New Issue
Block a user