aboutsummaryrefslogtreecommitdiffstats
path: root/clients/network_client.py
diff options
context:
space:
mode:
Diffstat (limited to 'clients/network_client.py')
-rw-r--r--clients/network_client.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/clients/network_client.py b/clients/network_client.py
index c45ef8b..3a2ca3d 100644
--- a/clients/network_client.py
+++ b/clients/network_client.py
@@ -185,7 +185,8 @@ class BBJ(object):
{
"instance_name": (string), // a title set by the server owner
- "allow_anon": (bool) // whether anonymous participation is allowed
+ "allow_anon": (bool), // whether anonymous participation is allowed
+ "admins": (list) // usernames of those who have admin rights on the server
}
"""
response = self("instance_info")
@@ -434,7 +435,7 @@ class BBJ(object):
If the user element isnt found, ValueError is raised.
See also `user_is_registered`
"""
- response = self("user_get", user=user_id_or_name)
+ response = self("user_get", target_user=user_id_or_name)
return response["data"]
Un proyecto texto-plano.xyz