Fixed secret message timers

This commit is contained in:
Peter
2018-10-16 20:19:11 +03:00
parent 99e33176df
commit af33eaa65f
10 changed files with 49 additions and 12 deletions

View File

@@ -71,6 +71,6 @@ func managedTermsOfServiceUpdates(postbox: Postbox, network: Network, stateManag
return .complete()
}
return (poll |> then(.complete() |> delay(1.0 * 60.0 * 60.0, queue: Queue.concurrentDefaultQueue()))) |> restart
return (poll |> then(.complete() |> suspendAwareDelay(1.0 * 60.0 * 60.0, queue: Queue.concurrentDefaultQueue()))) |> restart
}