From 1a105d391bbbe241267ce7c1ec2e79d78f1e3c5e Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 17 Sep 2020 12:34:10 +0200 Subject: [PATCH] cleanup: rename session name to hydrogen as well as we'll need people to resync because of account data as well --- src/matrix/storage/idb/StorageFactory.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix/storage/idb/StorageFactory.js b/src/matrix/storage/idb/StorageFactory.js index 0b58d5dc..8f6e5d69 100644 --- a/src/matrix/storage/idb/StorageFactory.js +++ b/src/matrix/storage/idb/StorageFactory.js @@ -19,7 +19,7 @@ import { openDatabase, reqAsPromise } from "./utils.js"; import { exportSession, importSession } from "./export.js"; import { schema } from "./schema.js"; -const sessionName = sessionId => `brawl_session_${sessionId}`; +const sessionName = sessionId => `hydrogen_session_${sessionId}`; const openDatabaseWithSessionId = sessionId => openDatabase(sessionName(sessionId), createStores, schema.length); export class StorageFactory {