Show members: Pull conversation from group table

This commit is contained in:
Scott Nonnenberg
2019-02-11 14:52:58 -08:00
parent 12739ac82d
commit 462fa712bc
4 changed files with 27 additions and 14 deletions

View File

@@ -636,7 +636,7 @@ async function getAllGroupIds() {
return map(rows, row => row.id);
}
async function getAllGroups() {
const rows = await db.all('SELECT id FROM groups ORDER BY id ASC;');
const rows = await db.all('SELECT json FROM groups ORDER BY id ASC;');
return map(rows, row => jsonToObject(row.json));
}
async function bulkAddGroups(array) {