one more parameter in hash

This commit is contained in:
Avently
2025-01-17 13:38:06 -08:00
parent 1047c44f69
commit cb4f1e5a11
@@ -234,7 +234,7 @@ struct ListItem: Hashable {
let unreadBefore: Int
func genHash() -> String {
"\(item.meta.itemId) \(item.meta.updatedAt.hashValue) \(item.reactions.count) \(item.meta.isRcvNew) \(unreadBefore)"
"\(item.meta.itemId) \(item.meta.updatedAt.hashValue) \(item.reactions.count) \(item.meta.isRcvNew) \(item.text.hash) \(unreadBefore)"
}
}