| author | Stephen Paul Weber
<singpolyma@singpolyma.net> 2023-11-15 03:59:00 UTC |
| committer | Stephen Paul Weber
<singpolyma@singpolyma.net> 2023-11-15 17:48:29 UTC |
| parent | 689959f41287f15549069ef15d43fde52f4b7441 |
| xmpp/persistence/browser.js | +0 | -6 |
diff --git a/xmpp/persistence/browser.js b/xmpp/persistence/browser.js index 0130cda..130e486 100644 --- a/xmpp/persistence/browser.js +++ b/xmpp/persistence/browser.js @@ -125,12 +125,6 @@ exports.xmpp.persistence = { } return { - test: function() { - //messages = upgradeDb.createObjectStore("messages", { keyPath: ["account", "serverIdBy", "serverId", "localId"] }); - const tx = db.transaction(["messages"], "readonly"); - const store = tx.objectStore("messages"); - return promisifyRequest(store.get(["singpolyma@singpolyma.net", "singpolyma@singpolyma.net", "5a6398a2-d560-43b1-988c-8852edc59521", ""])); - }, lastId: function(account, jid, callback) { const tx = db.transaction(["messages"], "readonly"); const store = tx.objectStore("messages");