git » sdk » commit af3aece

Remove unused lines

author Stephen Paul Weber
2026-04-19 20:25:53 UTC
committer Stephen Paul Weber
2026-04-19 20:25:53 UTC
parent 1876ce24df593d11307cb15554807c4838054037

Remove unused lines

borogove/persistence/IDB.js +0 -3

diff --git a/borogove/persistence/IDB.js b/borogove/persistence/IDB.js
index 90dd466..06e9b39 100644
--- a/borogove/persistence/IDB.js
+++ b/borogove/persistence/IDB.js
@@ -285,9 +285,6 @@ export default async (dbname, media, tokenize, stemmer) => {
 	function hydrateMessageSync(value) {
 		if (!value) return null;
 
-		const tx = db.transaction(["messages"], "readonly");
-		const store = tx.objectStore("messages");
-
 		const message = new borogove_ChatMessageBuilder();
 		message.localId = value.localId ? value.localId : null;
 		message.serverId = value.serverId ? value.serverId : null;