Fix spurious assert in groups.ts
This commit is contained in:
@@ -3893,7 +3893,10 @@ async function integrateGroupChange({
|
|||||||
|
|
||||||
const newMembers = profileKeysToMembers(newProfileKeys);
|
const newMembers = profileKeysToMembers(newProfileKeys);
|
||||||
|
|
||||||
if (groupChangeMessages.length !== 0 || newMembers.length !== 0) {
|
if (
|
||||||
|
canApplyChange &&
|
||||||
|
(groupChangeMessages.length !== 0 || newMembers.length !== 0)
|
||||||
|
) {
|
||||||
assert(
|
assert(
|
||||||
groupChangeMessages.length === 0,
|
groupChangeMessages.length === 0,
|
||||||
'Fallback group state processing should not kick in'
|
'Fallback group state processing should not kick in'
|
||||||
|
Reference in New Issue
Block a user