fix: some compile time errors
Only 174 errors left!
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
use std::collections::HashSet;
|
||||
|
||||
use ruma::{UserId, RoomId};
|
||||
|
||||
pub trait Data {
|
||||
/// Sets a user as typing until the timeout timestamp is reached or roomtyping_remove is
|
||||
/// called.
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
mod data;
|
||||
pub use data::Data;
|
||||
use ruma::{UserId, RoomId};
|
||||
|
||||
use crate::service::*;
|
||||
|
||||
@@ -66,7 +67,6 @@ impl Service<_> {
|
||||
*/
|
||||
|
||||
/// Returns the count of the last typing update in this room.
|
||||
#[tracing::instrument(skip(self, globals))]
|
||||
pub fn last_typing_update(&self, room_id: &RoomId) -> Result<u64> {
|
||||
self.db.last_typing_update(room_id)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user