messing around with arcs

This commit is contained in:
Timo Kösters authored and Nyaaori committed 2022-10-10 14:02:00 +02:00
1 parent face766e0f
commit cff52d7ebb
77 files changed
+598 -434

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ use ruma::{signatures::CanonicalJsonObject, EventId, UserId, RoomId};
use crate::{Result, PduEvent};
pub trait Data {
pub trait Data: Send + Sync {
fn last_timeline_count(&self, sender_user: &UserId, room_id: &RoomId) -> Result<u64>;
/// Returns the `count` of this pdu's id.