mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Various improvements
This commit is contained in:
@@ -89,7 +89,6 @@ func chatHistoryViewForLocation(_ location: ChatHistoryLocationInput, ignoreMess
|
||||
requestAroundId = true
|
||||
}
|
||||
if case let .replyThread(message) = chatLocation, message.peerId == context.account.peerId {
|
||||
requestAroundId = true
|
||||
preFixedReadState = .peer([:])
|
||||
}
|
||||
|
||||
@@ -114,7 +113,11 @@ func chatHistoryViewForLocation(_ location: ChatHistoryLocationInput, ignoreMess
|
||||
|
||||
let canScrollToRead: Bool
|
||||
if case let .replyThread(message) = chatLocation, !message.isForumPost {
|
||||
canScrollToRead = true
|
||||
if message.peerId == context.account.peerId {
|
||||
canScrollToRead = false
|
||||
} else {
|
||||
canScrollToRead = true
|
||||
}
|
||||
} else if view.isAddedToChatList {
|
||||
canScrollToRead = true
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user