Groups: Allow fetch via log when discovering group from storage service

This commit is contained in:
Scott Nonnenberg 2024-08-06 03:54:26 +10:00 committed by GitHub
parent 7d37ec5f80
commit f0d81b0a3c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View File

@ -4117,7 +4117,10 @@ async function integrateGroupChanges({
// If this is our first fetch, we will collapse this down to one set of messages
const isFirstFetch = !isNumber(group.revision);
if (isFirstFetch) {
// ...but only if there has been more than one revision since creation
const moreThanOneVersion = Boolean(attributes.revision);
if (isFirstFetch && moreThanOneVersion) {
// The first array in finalMessages is from the first revision we could process. It
// should contain a message about how we joined the group.
const joinMessages = finalMessages[0];

View File

@ -118,7 +118,7 @@ Bootstrap.benchmark(async (bootstrap: Bootstrap): Promise<void> => {
`>> text="${LAST_MESSAGE}"`
)
.first();
await item.click({ timeout: 2 * MINUTE });
await item.click({ timeout: 3 * MINUTE });
}
const deltaList = new Array<number>();