Start work on event creation

This commit is contained in:
timokoesters 2020-03-29 13:48:44 +02:00
parent 744e0adfcf
commit 73e04e71d7
No known key found for this signature in database
GPG key ID: 24DA7517711A2BA4
5 changed files with 36 additions and 3 deletions

View file

@ -1,4 +1,5 @@
use directories::ProjectDirs;
use ruma_events::collections::all::RoomEvent;
use ruma_identifiers::UserId;
pub struct Data(sled::Db);
@ -36,4 +37,6 @@ impl Data {
.insert(user_id.to_string(), &*password.unwrap_or_default())
.unwrap();
}
pub fn room_event_add(&self, room_event: &RoomEvent) {}
}