mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
More screencast fixing
This commit is contained in:
parent
c20e99e4fc
commit
d7f64543d5
@ -557,7 +557,8 @@ public final class IpcGroupCallBufferBroadcastContext {
|
||||
return
|
||||
}
|
||||
|
||||
if let currentId = self.currentId, currentId == cutoffPayload.id {
|
||||
let timestamp = Int32(Date().timeIntervalSince1970)
|
||||
if let currentId = self.currentId, currentId == cutoffPayload.id && cutoffPayload.timestamp > timestamp - 10 {
|
||||
self.statusPromise.set(.single(.finished(.screencastEnded)))
|
||||
return
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user