fix bad sync against no messages for mockroom
This commit is contained in:
@@ -3,7 +3,7 @@ use super::event;
|
||||
pub trait Room {
|
||||
fn rollback(&mut self, since: String);
|
||||
fn sync(&mut self) -> Vec<event::Event>;
|
||||
fn send(&mut self, message: String) -> Result<&str, &str>;
|
||||
fn send(&mut self, message: String) -> Result<String, &str>;
|
||||
fn room_id(&self) -> String;
|
||||
fn since(&self) -> String;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user