Start work on event creation
This commit is contained in:
parent
744e0adfcf
commit
73e04e71d7
5 changed files with 36 additions and 3 deletions
|
@ -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) {}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue