aboutsummaryrefslogtreecommitdiff
path: root/src/matrix.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/matrix.rs')
-rw-r--r--src/matrix.rs17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/matrix.rs b/src/matrix.rs
index ce31fe3..1ae79e7 100644
--- a/src/matrix.rs
+++ b/src/matrix.rs
@@ -12,16 +12,17 @@ use tokio::runtime::Runtime;
use reqwest::Url;
-use ruma::{
- api::client::r0::message::get_message_events,
- events::room::message::{MessageEventContent, MessageType, Relation, Replacement},
- events::{AnyMessageEvent, AnyMessageEventContent, AnyRoomEvent},
- identifiers::{EventId, RoomId, UserId},
- MilliSecondsSinceUnixEpoch, UInt,
+use matrix_sdk::{
+ ruma::{
+ api::client::r0::message::get_message_events,
+ events::room::message::{MessageEventContent, MessageType, Relation, Replacement},
+ events::{AnyMessageEvent, AnyMessageEventContent, AnyRoomEvent},
+ identifiers::{EventId, RoomId, UserId},
+ MilliSecondsSinceUnixEpoch, UInt,
+ },
+ Client
};
-use matrix_sdk::Client;
-
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
pub struct MatrixUser {
pub homeserver: Url,