Add status presence indicator.

This commit is contained in:
Paul
2021-04-03 20:50:14 +01:00
parent c3fa7bf74e
commit a547177325
5 changed files with 14 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ pub async fn req(user: User, target: Ref) -> Result<JsonValue> {
}
if target.profile.is_some() {
Ok(json!({ "profile": target.profile }))
Ok(json!(target.profile))
} else {
Ok(json!({}))
}