mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios
This commit is contained in:
commit
6c27ff5e2f
@ -1899,7 +1899,7 @@ final class PostboxImpl {
|
||||
}
|
||||
//#endif
|
||||
|
||||
if !isTemporary && self.messageHistoryMetadataTable.shouldReindexUnreadCounts() {
|
||||
if !isTemporary && useCaches && self.messageHistoryMetadataTable.shouldReindexUnreadCounts() {
|
||||
self.groupMessageStatsTable.removeAll()
|
||||
let startTime = CFAbsoluteTimeGetCurrent()
|
||||
let (totalStates, summaries) = self.chatListIndexTable.debugReindexUnreadCounts(postbox: self, currentTransaction: transaction)
|
||||
|
@ -606,9 +606,15 @@ extension StoreMessage {
|
||||
threadId = makeMessageThreadId(threadIdValue)
|
||||
}
|
||||
} else {
|
||||
let threadIdValue = MessageId(peerId: peerId, namespace: Namespaces.Message.Cloud, id: replyToTopId)
|
||||
threadMessageId = threadIdValue
|
||||
threadId = makeMessageThreadId(threadIdValue)
|
||||
if peerId.namespace == Namespaces.Peer.CloudChannel {
|
||||
let threadIdValue = MessageId(peerId: peerId, namespace: Namespaces.Message.Cloud, id: replyToTopId)
|
||||
threadMessageId = threadIdValue
|
||||
threadId = makeMessageThreadId(threadIdValue)
|
||||
} else {
|
||||
let threadIdValue = MessageId(peerId: replyToPeerId?.peerId ?? peerId, namespace: Namespaces.Message.Cloud, id: replyToTopId)
|
||||
threadMessageId = threadIdValue
|
||||
threadId = makeMessageThreadId(threadIdValue)
|
||||
}
|
||||
}
|
||||
} else if peerId.namespace == Namespaces.Peer.CloudChannel {
|
||||
let threadIdValue = MessageId(peerId: peerId, namespace: Namespaces.Message.Cloud, id: replyToMsgId)
|
||||
|
@ -250,11 +250,7 @@ public final class PrincipalThemeEssentialGraphics {
|
||||
let outgoingKnockout = self.outgoingBubbleGradientImage != nil
|
||||
|
||||
let highlightKnockout: Bool
|
||||
if case .color = wallpaper {
|
||||
highlightKnockout = true
|
||||
} else {
|
||||
highlightKnockout = false
|
||||
}
|
||||
highlightKnockout = false
|
||||
|
||||
let serviceColor = serviceMessageColorComponents(chatTheme: theme, wallpaper: wallpaper)
|
||||
|
||||
|
@ -4728,7 +4728,7 @@ public class ChatMessageBubbleItemNode: ChatMessageItemView, ChatMessagePreviewI
|
||||
}
|
||||
|
||||
backgroundHighlightNode.customHighlightColor = highlightColor
|
||||
backgroundHighlightNode.setType(type: backgroundType, highlighted: true, graphics: graphics, maskMode: true, hasWallpaper: false, transition: .immediate, backgroundNode: nil)
|
||||
backgroundHighlightNode.setType(type: backgroundType, highlighted: true, graphics: graphics, maskMode: true, hasWallpaper: true, transition: .immediate, backgroundNode: nil)
|
||||
|
||||
backgroundHighlightNode.frame = self.backgroundNode.frame
|
||||
backgroundHighlightNode.updateLayout(size: backgroundHighlightNode.frame.size, transition: .immediate)
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"app": "10.2.1",
|
||||
"app": "10.2.2",
|
||||
"bazel": "6.4.0",
|
||||
"xcode": "15.0"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user