1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2025-07-27 17:28:36 +00:00

improvement: do not save typing edus in db

This commit is contained in:
Timo Kösters 2024-03-05 23:48:36 +01:00
parent bdae9ceccf
commit 6bd7ff4917
No known key found for this signature in database
GPG key ID: 0B25E636FBA7E4CB
5 changed files with 49 additions and 23 deletions

View file

@ -27,13 +27,13 @@ pub async fn create_typing_event_route(
sender_user,
&body.room_id,
duration.as_millis() as u64 + utils::millis_since_unix_epoch(),
)?;
).await?;
} else {
services()
.rooms
.edus
.typing
.typing_remove(sender_user, &body.room_id)?;
.typing_remove(sender_user, &body.room_id).await?;
}
Ok(create_typing_event::v3::Response {})