Add status presence indicator.

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

No files matched your search

+1 -1
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!({}))
}