no message

This commit is contained in:
overtake 2018-11-21 16:15:01 +04:00
parent d0f6710573
commit 1b210032bf
3 changed files with 3 additions and 3 deletions

View File

@ -826,7 +826,7 @@ final class WatchPeerSettingsHandler: WatchRequestHandler {
var muted = false
var blocked = false
if let notificationSettings = view.notificationSettings as? TelegramPeerNotificationSettings, case .muted = notificationSettings.muteState {
if let notificationSettings = view.notificationSettings as? TelegramPeerNotificationSettings, case let .muted(until) = notificationSettings.muteState, until >= Int32(CFAbsoluteTimeGetCurrent() + NSTimeIntervalSince1970) {
muted = true
}
if let cachedData = view.cachedData as? CachedUserData {

@ -1 +1 @@
Subproject commit f59b9e432ec166833e065e8db26d0824aadc3f61
Subproject commit 167fd02070fe9ff864bc4b9f447b8dd8630e2163

@ -1 +1 @@
Subproject commit ec3d6c19ea4eea5ad64d62bc6b450d16f9ea0f77
Subproject commit 0161c7793a54fbf4788acc8d18fbd23dec45dc32