Move to depend on ruma monorepo and ruma-events0.22
This commit is contained in:
parent
9c095f1538
commit
7c38e53839
10 changed files with 176 additions and 2639 deletions
|
@ -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
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue