Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat (service): user stream of reply participants #228

Open
SHAcollision opened this issue Nov 26, 2024 · 0 comments · May be fixed by #239
Open

Feat (service): user stream of reply participants #228

SHAcollision opened this issue Nov 26, 2024 · 0 comments · May be fixed by #239
Assignees
Labels

Comments

@SHAcollision
Copy link
Collaborator

SHAcollision commented Nov 26, 2024

Add a new source=post_replies to /stream/users with a new param ...&post_id={string}&author_id={string} (mimicking current stream of posts of PostReplies).

Can be implemented with currently existing indexes. We just need to retrieve the Sorted set of replies of that post_key , subset the user_id: part of the found members and return unique user_ids to the UserStream model to craft a stream of user profiles for the existing.

Alternatively, we could also simply return the user_ids and assume the client has already cached the profiles.

@amirRamirfatahi amirRamirfatahi self-assigned this Dec 5, 2024
@amirRamirfatahi amirRamirfatahi linked a pull request Dec 5, 2024 that will close this issue
2 tasks
@tipogi tipogi linked a pull request Dec 6, 2024 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants