mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-02 00:17:02 +00:00
Fix message editing indication
This commit is contained in:
parent
99e90e5df4
commit
c44a71b0cd
@ -705,11 +705,7 @@ public final class ChatHistoryListNode: ListView, ChatHistoryNode {
|
|||||||
|> map { value -> [MessageId: ChatUpdatingMessageMedia] in
|
|> map { value -> [MessageId: ChatUpdatingMessageMedia] in
|
||||||
var result = value
|
var result = value
|
||||||
for id in value.keys {
|
for id in value.keys {
|
||||||
if case let .peer(peerId) = chatLocation {
|
if id.peerId != chatLocation.peerId {
|
||||||
if id.peerId != peerId {
|
|
||||||
result.removeValue(forKey: id)
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
result.removeValue(forKey: id)
|
result.removeValue(forKey: id)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user