mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
[WIP] Autoremove timer
This commit is contained in:
@@ -192,7 +192,7 @@ final class WidgetDataContext {
|
||||
return WidgetDataPeer(id: peer.id.toInt64(), name: name, lastName: lastName, letters: peer.displayLetters, avatarPath: smallestImageRepresentation(peer.profileImageRepresentations).flatMap { representation in
|
||||
return account.postbox.mediaBox.resourcePath(representation.resource)
|
||||
}, badge: badge, message: message)
|
||||
})))
|
||||
}, updateTimestamp: Int32(Date().timeIntervalSince1970))))
|
||||
}
|
||||
}
|
||||
|> distinctUntilChanged
|
||||
@@ -282,7 +282,7 @@ final class WidgetDataContext {
|
||||
return WidgetDataPeer(id: peer.id.toInt64(), name: name, lastName: lastName, letters: peer.displayLetters, avatarPath: smallestImageRepresentation(peer.profileImageRepresentations).flatMap { representation in
|
||||
return account.postbox.mediaBox.resourcePath(representation.resource)
|
||||
}, badge: badge, message: message)
|
||||
})))
|
||||
}, updateTimestamp: Int32(Date().timeIntervalSince1970))))
|
||||
}
|
||||
}
|
||||
|> distinctUntilChanged
|
||||
|
||||
Reference in New Issue
Block a user