Update peers in message history views

This commit is contained in:
Ali
2023-10-26 21:13:39 +04:00
parent bc09798555
commit 99a1a9392c
3 changed files with 54 additions and 0 deletions

View File

@@ -683,6 +683,11 @@ final class MutableMessageHistoryView {
hasChanges = true
}
}
if !transaction.currentUpdatedPeers.isEmpty {
if loadedState.updatePeers(postbox: postbox, updatedPeers: transaction.currentUpdatedPeers) {
hasChanges = true
}
}
}
if hasChanges {