GroupV2: Log from/to revision when applying full group state
This commit is contained in:
parent
79ddd48c28
commit
733c86ee8e
1 changed files with 6 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2020 Signal Messenger, LLC
|
// Copyright 2020-2021 Signal Messenger, LLC
|
||||||
// SPDX-License-Identifier: AGPL-3.0-only
|
// SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
@ -2905,6 +2905,11 @@ async function getCurrentGroupState({
|
||||||
logId
|
logId
|
||||||
);
|
);
|
||||||
|
|
||||||
|
const oldVersion = group.version;
|
||||||
|
const newVersion = decryptedGroupState.version;
|
||||||
|
window.log.info(
|
||||||
|
`getCurrentGroupState/${logId}: Applying full group state, from version ${oldVersion} to ${newVersion}.`
|
||||||
|
);
|
||||||
const newAttributes = await applyGroupState({
|
const newAttributes = await applyGroupState({
|
||||||
group,
|
group,
|
||||||
groupState: decryptedGroupState,
|
groupState: decryptedGroupState,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue