Rename crates.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2025-04-22 01:41:02 +00:00
parent 0024354345
commit 9b658d86b2
316 changed files with 1590 additions and 1593 deletions

View File

@@ -1,16 +1,16 @@
use std::sync::Arc;
use conduwuit::{
Result,
utils::{ReadyExt, stream::TryIgnore},
};
use database::{Deserialized, Json, Map};
use futures::{Stream, StreamExt};
use ruma::{
CanonicalJsonObject, RoomId, UserId,
events::{AnySyncEphemeralRoomEvent, receipt::ReceiptEvent},
serde::Raw,
};
use tuwunel_core::{
Result,
utils::{ReadyExt, stream::TryIgnore},
};
use tuwunel_database::{Deserialized, Json, Map};
use crate::{Dep, globals};

View File

@@ -2,11 +2,6 @@ mod data;
use std::{collections::BTreeMap, sync::Arc};
use conduwuit::{
Result, debug, err,
matrix::pdu::{PduCount, PduId, RawPduId},
warn,
};
use futures::{Stream, TryFutureExt, try_join};
use ruma::{
OwnedEventId, OwnedUserId, RoomId, UserId,
@@ -16,6 +11,11 @@ use ruma::{
},
serde::Raw,
};
use tuwunel_core::{
Result, debug, err,
matrix::pdu::{PduCount, PduId, RawPduId},
warn,
};
use self::data::{Data, ReceiptItem};
use crate::{Dep, rooms, sending};
@@ -161,7 +161,7 @@ where
}
let content = ReceiptEventContent::from_iter(json);
conduwuit::trace!(?content);
tuwunel_core::trace!(?content);
Raw::from_json(
serde_json::value::to_raw_value(&SyncEphemeralRoomEvent { content })
.expect("received valid json"),