Add status presence indicator.
This commit is contained in:
1 parent
c3fa7bf74e
commit
a547177325
5 files changed
+14
-4
No files matched your search
@@ -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!({}))
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user