move typing feature up one level out of rooms.edus.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
89a919ce75
commit
9790477b0e
8 changed files with 10 additions and 20 deletions
|
@ -410,14 +410,12 @@ pub async fn send_transaction_message_route(
|
|||
+ services().globals.config.typing_federation_timeout_s * 1000;
|
||||
services()
|
||||
.rooms
|
||||
.edus
|
||||
.typing
|
||||
.typing_add(&typing.user_id, &typing.room_id, timeout)
|
||||
.await?;
|
||||
} else {
|
||||
services()
|
||||
.rooms
|
||||
.edus
|
||||
.typing
|
||||
.typing_remove(&typing.user_id, &typing.room_id)
|
||||
.await?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue