Various improvements

This commit is contained in:
Isaac
2024-04-19 17:57:13 +04:00
parent e2a3decea3
commit 179228226b
5 changed files with 112 additions and 42 deletions

View File

@@ -65,7 +65,7 @@ extension ChatControllerImpl {
} else {
text.append("**\(result.updateBannedRights.count)** users restricted.")
}
for id in result.banPeers {
for (id, _) in result.updateBannedRights {
if let value = initialUserBannedRights[id] {
undoRights[id] = value
}