diff --git a/js/database.js b/js/database.js index b036f9b2..d801c94b 100644 --- a/js/database.js +++ b/js/database.js @@ -32,6 +32,7 @@ var conversations = transaction.db.createObjectStore("conversations"); conversations.createIndex("inbox", "active_at", { unique: false }); conversations.createIndex("group", "members", { unique: false, multiEntry: true }); + conversations.createIndex("type", "type", { unique: false }); next(); } }