Fix last hash all being NULL in database

pull/494/head
sachaaaaa 6 years ago
parent ec3d9c5f1c
commit 3beb6004db

@ -136,8 +136,8 @@ class LokiSnodeAPI {
await conversation.updateSwarmNodes(filteredNodes); await conversation.updateSwarmNodes(filteredNodes);
} }
async updateLastHash(nodeUrl, lastHash, expiresAt) { async updateLastHash(snode, hash, expiresAt) {
await window.Signal.Data.updateLastHash({ nodeUrl, lastHash, expiresAt }); await window.Signal.Data.updateLastHash({ snode, hash, expiresAt });
} }
getSwarmNodesForPubKey(pubKey) { getSwarmNodesForPubKey(pubKey) {

Loading…
Cancel
Save