Remove another unnecessary use of an event enum
This commit is contained in:
parent
583ec51f9f
commit
5db4c001d1
3 changed files with 11 additions and 10 deletions
|
@ -2,7 +2,8 @@ use crate::{database::abstraction::Tree, utils, Error, Result};
|
|||
use ruma::{
|
||||
events::{
|
||||
presence::{PresenceEvent, PresenceEventContent},
|
||||
AnyEphemeralRoomEvent, SyncEphemeralRoomEvent,
|
||||
receipt::ReceiptEvent,
|
||||
SyncEphemeralRoomEvent,
|
||||
},
|
||||
presence::PresenceState,
|
||||
serde::Raw,
|
||||
|
@ -31,7 +32,7 @@ impl RoomEdus {
|
|||
&self,
|
||||
user_id: &UserId,
|
||||
room_id: &RoomId,
|
||||
event: AnyEphemeralRoomEvent,
|
||||
event: ReceiptEvent,
|
||||
globals: &super::super::globals::Globals,
|
||||
) -> Result<()> {
|
||||
let mut prefix = room_id.as_bytes().to_vec();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue