Move to depend on ruma monorepo and ruma-events0.22

This commit is contained in:
Devin R committed 2020-07-17 16:03:02 -04:00
1 parent 9c095f1538
commit 7c38e53839
10 files changed
+176 -2639

No files matched your search

+2 -2
View File
@@ -1,6 +1,6 @@
use crate::{utils, Error, Result};
use ruma::{
events::{collections::only::Event as EduEvent, EventJson},
events::{AnyEvent as EduEvent, EventJson},
identifiers::{RoomId, UserId},
};
use std::convert::TryFrom;
@@ -235,7 +235,7 @@ impl RoomEdus {
Ok(ruma::events::typing::TypingEvent {
content: ruma::events::typing::TypingEventContent { user_ids },
room_id: None, // Can be inferred
room_id: room_id.clone(), // Can be inferred
})
}