Refresh group state if missing group members
This commit is contained in:
parent
872f1bd843
commit
40ac288a3a
3 changed files with 73 additions and 48 deletions
|
@ -98,7 +98,7 @@ import { sleep } from './util/sleep';
|
|||
import { groupInvitesRoute } from './util/signalRoutes';
|
||||
import {
|
||||
decodeGroupSendEndorsementResponse,
|
||||
isValidGroupSendEndorsementsExpiration,
|
||||
validateGroupSendEndorsementsExpiration,
|
||||
} from './util/groupSendEndorsements';
|
||||
import { getProfile } from './util/getProfile';
|
||||
import { generateMessageId } from './util/generateMessageId';
|
||||
|
@ -3992,7 +3992,7 @@ async function updateGroupViaLogs({
|
|||
await DataReader.getGroupSendCombinedEndorsementExpiration(groupId);
|
||||
|
||||
if (cachedEndorsementsExpiration != null) {
|
||||
const result = isValidGroupSendEndorsementsExpiration(
|
||||
const result = validateGroupSendEndorsementsExpiration(
|
||||
cachedEndorsementsExpiration * 1000
|
||||
);
|
||||
if (!result.valid) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue