-
Notifications
You must be signed in to change notification settings - Fork 21
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
Noe/fix group streams issues #503
Conversation
… noe/fix-group-streams-issues
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't forget to add a semantic commit so a release gets triggered.
@@ -146,7 +146,7 @@ export default class Conversations< | |||
const groupsSubscription = XMTPModule.emitter.addListener( | |||
EventTypes.Group, | |||
async ({ inboxId, group }: { inboxId: string; group: GroupParams }) => { | |||
if (this.known[group.id] || this.client.inboxId !== inboxId) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The forked group test is still flaky for me so I don't think this fixes it. I'd probably lean more towards reverting this change just in case. But also okay with leaving it if you think it will fix other issues as all the tests seem to be passing.
🎉 This PR is included in version 2.6.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
this.known
when streaming a group because we might call somewhere elselistGroups
which will mark the group as known but we still want it to get streamed. If there are other effects of this check @nplasterer let's discuss!