Groups: Allow fetch via log when discovering group from storage service
This commit is contained in:
parent
7d37ec5f80
commit
f0d81b0a3c
2 changed files with 5 additions and 2 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue