mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-27 10:57:34 +00:00
Add update for device last_seen_ts. (closes #40)
Piggyback on presence ping for controlled device seen updates. Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
240b498489
commit
8b1de3d8db
8 files changed
+82
-19
No files matched your search
@@ -66,7 +66,11 @@ pub(crate) async fn create_typing_event_route(
|
||||
// ping presence
|
||||
services
|
||||
.presence
|
||||
.maybe_ping_presence(&body.user_id, &ruma::presence::PresenceState::Online)
|
||||
.maybe_ping_presence(
|
||||
&body.user_id,
|
||||
body.sender_device.as_deref(),
|
||||
&ruma::presence::PresenceState::Online,
|
||||
)
|
||||
.await?;
|
||||
|
||||
Ok(create_typing_event::v3::Response {})
|
||||
|
||||
Reference in new issue
Block a user