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

StreamAllMessage and Groups create inconsistent results #1081

Closed
nplasterer opened this issue Sep 20, 2024 · 1 comment
Closed

StreamAllMessage and Groups create inconsistent results #1081

nplasterer opened this issue Sep 20, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@nplasterer
Copy link
Contributor

When streaming Groups & StreamAllMessages at the same time sometimes stream all messages receives the welcome message first and writes it to the database. This means when groups receives the stream it think it already exists and doesn't stream the message.

@nplasterer nplasterer added the bug Something isn't working label Sep 20, 2024
@nplasterer
Copy link
Contributor Author

From andrew

We could probably just:
Keep a list/keep the last streamed group
if we get the error that welcome id exists, silence the error and stream the group anyway if it's a newer group than the last known streamed group

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

1 participant