mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-02-15 07:28:59 +00:00
Groups: Allow fetch via log when discovering group from storage service
Co-authored-by: Scott Nonnenberg <scott@signal.org>
This commit is contained in:
@@ -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];
|
||||
|
||||
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user