mirror of
https://gitlab.com/famedly/conduit.git
synced 2025-09-05 18:41:00 +00:00
feat(devices): update the device last seen timestamp on usage
This commit is contained in:
parent
a1886a1396
commit
09e1713c30
11 changed files with 170 additions and 31 deletions
|
@ -89,7 +89,7 @@ where
|
|||
if let Some(reg_info) = services().appservice.find_from_token(token).await {
|
||||
Token::Appservice(Box::new(reg_info.clone()))
|
||||
} else if let Some((user_id, device_id)) = services().users.find_from_token(token)? {
|
||||
Token::User((user_id, OwnedDeviceId::from(device_id)))
|
||||
Token::User((user_id, device_id))
|
||||
} else {
|
||||
Token::Invalid
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue