mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-16 03:09:56 +00:00
One more attempt to fix the unsend menu
This commit is contained in:
parent
7414031c86
commit
163a9001bc
@ -599,7 +599,7 @@ private func canPerformDeleteActions(limits: LimitsConfiguration, accountPeerId:
|
||||
return true
|
||||
}
|
||||
|
||||
if message.flags.contains(.Incoming) {
|
||||
if !message.flags.contains(.Incoming) {
|
||||
let timestamp = Int32(CFAbsoluteTimeGetCurrent() + NSTimeIntervalSince1970)
|
||||
if message.id.peerId.namespace == Namespaces.Peer.CloudUser {
|
||||
if message.timestamp + limits.maxMessageRevokeIntervalInPrivateChats > timestamp {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user