mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-18 19:40:19 +00:00
- no message
This commit is contained in:
parent
dafd483f1c
commit
c63302459d
@ -251,9 +251,9 @@ public final class AccountViewTracker {
|
||||
storeForwardInfo = StoreMessageForwardInfo(authorId: forwardInfo.author.id, sourceId: forwardInfo.source?.id, sourceMessageId: forwardInfo.sourceMessageId, date: forwardInfo.date)
|
||||
}
|
||||
var attributes = currentMessage.attributes
|
||||
loop: for i in 0 ..< attributes.count {
|
||||
if let attribute = attributes[i] as? ViewCountMessageAttribute {
|
||||
attributes[i] = ViewCountMessageAttribute(count: max(attribute.count, Int(viewCounts[i])))
|
||||
loop: for j in 0 ..< attributes.count {
|
||||
if let attribute = attributes[j] as? ViewCountMessageAttribute {
|
||||
attributes[j] = ViewCountMessageAttribute(count: max(attribute.count, Int(viewCounts[i])))
|
||||
break loop
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user