-
Notifications
You must be signed in to change notification settings - Fork 1
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
Publish re-ad messages on the additions feed #85
Conversation
@arj03 no it's re-add, not read :P |
const excludeOpts = { | ||
tangles: ['members'], | ||
isValid: isExclude, | ||
} |
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.
I think we need to think about where we want the exclude published... (which feed).
I have a feeling it should be in the same feed as the additions... but I can't quite justify.
I think it's that we want to be sure we have all the messages for each epoch membership stuff and sprinkling the around might lead to funny edge cases?
what do you think?
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.
i don't mind having it in the epochs. the main purpose of the additions feed is that people who are not in a group know where to look for stuff that is DMed to them
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.
ideally i want re-additions also in the epochs, i think we're mostly moving them to the additions for lack of time
const msgsFromAdditions = await alice.db.query( | ||
where(author(aliceAdditions.id)), | ||
toPromise() | ||
) |
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.
🍍 it's cool seeing different ways of querying around the space + testing. I would have got a different way but this is tidy (looking within a particular sub-feed).
db.query is so sweet
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.
have a question about where exclusions should be published, but that can be explored later. Lets just keep an eye on it aye
for #79 Hopefully fixes it, but we need to verify in #78
tests were passing before the first commit