Deleting users inconsistent - Documentation and Implementation
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- api, documentation
Research direction
Start with the deleteUsers behavior described for v9.29.0 and the update_users documentation linked in the issue, focusing on the user:'hard' and new_channel_owner_id options. Reproduce the case with a single user ID and verify whether channels are reassigned; done requires resolving the behavior and documenting how conversations and ownership are handled.
Written by the indexing model from the issue text.
Description
The server side API is somewhat inconsistent i am on v9.29.0.
Calling deleteUsers with a single user ID inside an array and the options as
user:'hard', new_channel_owner_id:'adminUserId' (I am using the 'adminUserId' which is the same user that is the app admin)
Returns success and the user also gets deleted but the channels do not get their new owner.
Additionally the documentation https://getstream.io/chat/docs/node/update_users/
is also confusing because if the "conversations" (channels ?) get hard deleted when the user gets deleted then what does the new_channel_owner_id do ?
I actually want that the created channels can be assigned to the admin if the account of the owner gets deleted.
Can someone help ?
- Dominant language
- TypeScript
- Stars
- 211
- Forks
- 84
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 89
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from GetStream/stream-chat-js
-
Error helpers in errors.ts (isAPIError, isErrorRetryable, APIErrorCodes) are not exported from the package entry pointPossibly taken @Tyagiquamar claimed this 73 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
GetStream/stream-chat-js#1848 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
GetStream/stream-chat-js#1719 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
GetStream/stream-chat-js#1967 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
GetStream/stream-chat-js#1777 ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
GetStream/stream-chat-js#1668 · 5 comments ·
Maintainers usually reply within 1 day
All issues in GetStream/stream-chat-js
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
siyuan-note/siyuan#21692 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
GetStream/stream-chat-react#3467 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
resend/resend-node#1206 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
cloudflare/cloudflare-typescript#2821 ·