mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Reaction improvements
This commit is contained in:
@@ -15,6 +15,9 @@ func _internal_earliestUnseenPersonalMentionMessage(account: Account, peerId: Pe
|
||||
if view.0.isLoading {
|
||||
return .single(.loading)
|
||||
}
|
||||
if case .FillHole = view.1 {
|
||||
return _internal_earliestUnseenPersonalMentionMessage(account: account, peerId: peerId)
|
||||
}
|
||||
if let message = view.0.entries.first?.message {
|
||||
if peerId.namespace == Namespaces.Peer.CloudChannel {
|
||||
var invalidatedPts: Int32?
|
||||
@@ -79,6 +82,9 @@ func _internal_earliestUnseenPersonalReactionMessage(account: Account, peerId: P
|
||||
if view.0.isLoading {
|
||||
return .single(.loading)
|
||||
}
|
||||
if case .FillHole = view.1 {
|
||||
return _internal_earliestUnseenPersonalReactionMessage(account: account, peerId: peerId)
|
||||
}
|
||||
if let message = view.0.entries.first?.message {
|
||||
if peerId.namespace == Namespaces.Peer.CloudChannel {
|
||||
var invalidatedPts: Int32?
|
||||
|
||||
Reference in New Issue
Block a user