mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-23 00:02:28 +00:00
one more parameter in hash
This commit is contained in:
1 parent
1047c44f69
commit
cb4f1e5a11
1 file changed
+1
-1
@@ -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)"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user