mirror of
https://gitlab.com/famedly/conduit.git
synced 2025-07-22 17:18:35 +00:00
Work on event_handler, lazy_loading, metadata, outlier, pdu_metadata
This commit is contained in:
parent
b5305ba217
commit
173f8b1b4d
11 changed files with 1286 additions and 1135 deletions
24
src/service/rooms/lazy_loading/data.rs
Normal file
24
src/service/rooms/lazy_loading/data.rs
Normal file
|
@ -0,0 +1,24 @@
|
|||
pub trait Data {
|
||||
fn lazy_load_was_sent_before(
|
||||
&self,
|
||||
user_id: &UserId,
|
||||
device_id: &DeviceId,
|
||||
room_id: &RoomId,
|
||||
ll_user: &UserId,
|
||||
) -> Result<bool>;
|
||||
|
||||
fn lazy_load_confirm_delivery(
|
||||
&self,
|
||||
user_id: &UserId,
|
||||
device_id: &DeviceId,
|
||||
room_id: &RoomId,
|
||||
since: u64,
|
||||
) -> Result<()>;
|
||||
|
||||
fn lazy_load_reset(
|
||||
&self,
|
||||
user_id: &UserId,
|
||||
device_id: &DeviceId,
|
||||
room_id: &RoomId,
|
||||
) -> Result<()>;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue