Fix spurious assert in groups.ts
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
parent
e3d1c84647
commit
28f7ed09c0
|
@ -3893,7 +3893,10 @@ async function integrateGroupChange({
|
|||
|
||||
const newMembers = profileKeysToMembers(newProfileKeys);
|
||||
|
||||
if (groupChangeMessages.length !== 0 || newMembers.length !== 0) {
|
||||
if (
|
||||
canApplyChange &&
|
||||
(groupChangeMessages.length !== 0 || newMembers.length !== 0)
|
||||
) {
|
||||
assert(
|
||||
groupChangeMessages.length === 0,
|
||||
'Fallback group state processing should not kick in'
|
||||
|
|
Loading…
Reference in New Issue