Bump ruma

This commit is contained in:
Timo Kösters
2022-10-10 14:02:04 +02:00
committed by Nyaaori
parent 275c6b447d
commit 6b131202b9
68 changed files with 446 additions and 347 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
use crate::Result;
use ruma::{events::receipt::ReceiptEvent, serde::Raw, RoomId, UserId};
use ruma::{events::receipt::ReceiptEvent, serde::Raw, OwnedUserId, RoomId, UserId};
pub trait Data: Send + Sync {
/// Replaces the previous read receipt.
@@ -18,7 +18,7 @@ pub trait Data: Send + Sync {
) -> Box<
dyn Iterator<
Item = Result<(
Box<UserId>,
OwnedUserId,
u64,
Raw<ruma::events::AnySyncEphemeralRoomEvent>,
)>,
+2 -2
View File
@@ -3,7 +3,7 @@ mod data;
pub use data::Data;
use crate::Result;
use ruma::{events::receipt::ReceiptEvent, serde::Raw, RoomId, UserId};
use ruma::{events::receipt::ReceiptEvent, serde::Raw, OwnedUserId, RoomId, UserId};
pub struct Service {
pub db: &'static dyn Data,
@@ -28,7 +28,7 @@ impl Service {
since: u64,
) -> impl Iterator<
Item = Result<(
Box<UserId>,
OwnedUserId,
u64,
Raw<ruma::events::AnySyncEphemeralRoomEvent>,
)>,