mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
Make final state assert more specific
This commit is contained in:
+4
-1
@@ -3620,7 +3620,10 @@ async function integrateGroupChanges({
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (groupChangeMessages.length !== 0 || finalMembers.length !== 0) {
|
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(
|
log.warn(
|
||||||
`integrateGroupChanges/${logId}: local state was different from ` +
|
`integrateGroupChanges/${logId}: local state was different from ` +
|
||||||
|
|||||||
Reference in New Issue
Block a user