forked from mystiq/hydrogen-web
obsolete comment
This commit is contained in:
parent
b10aa269d2
commit
3de86cdf33
1 changed files with 0 additions and 1 deletions
|
@ -13,7 +13,6 @@ function createStores(db) {
|
||||||
|
|
||||||
// need index to find live fragment? prooobably ok without for now
|
// need index to find live fragment? prooobably ok without for now
|
||||||
db.createObjectStore("timelineFragments", {keyPath: ["roomId", "id"]});
|
db.createObjectStore("timelineFragments", {keyPath: ["roomId", "id"]});
|
||||||
// needs roomId separate because it might hold a gap and no event
|
|
||||||
const timelineEvents = db.createObjectStore("timelineEvents", {keyPath: ["event.room_id", "fragmentId", "eventIndex"]});
|
const timelineEvents = db.createObjectStore("timelineEvents", {keyPath: ["event.room_id", "fragmentId", "eventIndex"]});
|
||||||
timelineEvents.createIndex("byEventId", [
|
timelineEvents.createIndex("byEventId", [
|
||||||
"event.room_id",
|
"event.room_id",
|
||||||
|
|
Loading…
Reference in a new issue