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

Co-authored-by: Scott Nonnenberg <scott@signal.org>
This commit is contained in:
automated-signal
2024-08-06 11:47:51 -05:00
committed by GitHub
parent 1a79dc911c
commit 0ffe1fa784
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>();