mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Temp
This commit is contained in:
@@ -20,7 +20,7 @@ private enum AdjacentEntryGroupInfo {
|
||||
|
||||
private func getAdjacentEntryGroupInfo(_ entry: IntermediateMessageHistoryEntry?, key: Int64) -> (IntermediateMessageHistoryEntry?, AdjacentEntryGroupInfo) {
|
||||
if let entry = entry {
|
||||
if let groupingKey = entry.message.groupingKey, let groupInfo = entry.message.groupInfo {
|
||||
if let groupingKey = entry.message.groupingKey, let _ = entry.message.groupInfo {
|
||||
if groupingKey == key {
|
||||
if let groupInfo = entry.message.groupInfo {
|
||||
return (entry, .sameGroup(groupInfo))
|
||||
@@ -2516,6 +2516,10 @@ final class MessageHistoryTable: Table {
|
||||
if let authorId = message.author?.id {
|
||||
author = peerTable.get(authorId)
|
||||
}
|
||||
|
||||
if let author = author {
|
||||
peers[author.id] = author
|
||||
}
|
||||
|
||||
if let chatPeer = peerTable.get(message.id.peerId) {
|
||||
peers[chatPeer.id] = chatPeer
|
||||
|
||||
Reference in New Issue
Block a user