Make final state assert more specific
This commit is contained in:
parent
8c7ab7363f
commit
e0bccf6a79
1 changed files with 4 additions and 1 deletions
|
@ -3620,7 +3620,10 @@ async function integrateGroupChanges({
|
|||
});
|
||||
|
||||
if (groupChangeMessages.length !== 0 || finalMembers.length !== 0) {
|
||||
assert(false, 'Fallback group state processing should not kick in');
|
||||
assert(
|
||||
groupChangeMessages.length === 0,
|
||||
'Fallback group state processing should not kick in'
|
||||
);
|
||||
|
||||
log.warn(
|
||||
`integrateGroupChanges/${logId}: local state was different from ` +
|
||||
|
|
Loading…
Add table
Reference in a new issue