refactor: use re-exported JsOption from ruma rather than directly adding it as a dependency

This commit is contained in:
Matthias Ahouansou 2024-02-25 10:30:30 +00:00
parent b27e9ea95c
commit 21a5fa3ef0
4 changed files with 6 additions and 13 deletions

View file

@ -5,7 +5,6 @@ use std::{
};
pub use data::Data;
use js_option::JsOption;
use lru_cache::LruCache;
use ruma::{
events::{
@ -17,7 +16,7 @@ use ruma::{
},
StateEventType,
},
EventId, OwnedServerName, OwnedUserId, RoomId, ServerName, UserId,
EventId, JsOption, OwnedServerName, OwnedUserId, RoomId, ServerName, UserId,
};
use tracing::error;