aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2022-04-02 21:28:24 +0200
committerDaniel Schadt <kingdread@gmx.de>2022-04-02 21:28:24 +0200
commit6bc512659fd301562a194e991e0e31429944173e (patch)
tree390b6df0ace7c5287056456a0dfe14c5f53e9a41 /src
parent088c43ca8fb0a63990fb43e2bab437b5a6aeebac (diff)
downloadezau-6bc512659fd301562a194e991e0e31429944173e.tar.gz
ezau-6bc512659fd301562a194e991e0e31429944173e.tar.bz2
ezau-6bc512659fd301562a194e991e0e31429944173e.zip
update dependencies
This also removes the direct import of ruma and instead imports matrix_sdk::ruma. This is simply to avoid mismatched versions, otherwise there might be errors popping up about missing traits.
Diffstat (limited to 'src')
-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,