Use string cache and update README

This commit is contained in:
Erik Johnston
2018-09-18 17:51:28 +01:00
parent 78549a76b6
commit 4c47310beb
6 changed files with 129 additions and 35 deletions

View File

@@ -84,7 +84,7 @@ fn get_initial_data_from_db(conn: &Connection, room_id: &str) -> BTreeMap<i64, S
if let Some(etype) = etype {
entry
.state_map
.insert(&etype, &row.get::<_, String>(3), row.get(4));
.insert(&etype, &row.get::<_, String>(3), row.get::<_, String>(4).into());
}
pb.inc(1);