-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Calling
await client.blockUsers({
blocked_user_id: "user-123",
user_id: "<moderator id>",
});
does not successfully block the user. The response is successful:
{
duration: '33.95ms',
blocked_by_user_id: '{{moderator id}}',
blocked_user_id: '{{user-123}}',
created_at: 2026-01-05T20:53:44.913Z,
metadata: {
clientRequestId: '965da726-58fc-4127-9292-20345d9b287d',
responseHeaders: Headers {
'access-control-allow-headers': 'x-requested-with, content-type, accept, origin, authorization, x-csrftoken, x-stream-client, stream-auth-type, x-csrf-token, content-encoding, x-client-request-id',
'access-control-allow-methods': 'GET, POST, PUT, PATCH, DELETE, OPTIONS',
'access-control-allow-origin': '*',
'access-control-max-age': '86400',
'cache-control': 'no-cache',
'content-type': 'application/json;charset=utf-8',
vary: 'Accept-Encoding',
'x-ratelimit-limit': '300',
'x-ratelimit-remaining': '299',
'x-ratelimit-reset': '1767646440',
date: 'Mon, 05 Jan 2026 20:53:44 GMT',
'content-length': '172',
'x-envoy-upstream-service-time': '85',
'strict-transport-security': 'max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains',
server: 'stream-edge'
},
responseCode: 201,
rateLimit: {
rateLimit: 300,
rateLimitRemaining: 299,
rateLimitReset: 2026-01-05T20:54:00.000Z
}
}
}
but the blocked user id isn't added to the blocking user's blocked_user_ids list, and the own_capabilities of the blocked user on the blocking user's feed are not changed, so the blocked user can access the blocking user's feed and follow them.
Metadata
Metadata
Assignees
Labels
No labels