Skip to content

Commit

Permalink
Add missing await in gv1 migration
Browse files Browse the repository at this point in the history
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
  • Loading branch information
automated-signal and indutny-signal committed Dec 14, 2022
1 parent 5085859 commit 38a672a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ts/groups.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2273,7 +2273,7 @@ export async function initiateMigrationToGroupV2(
await conversation.queueJob('initiateMigrationToGroupV2', async () => {
const ACCESS_ENUM = Proto.AccessControl.AccessRequired;

const isEligible = isGroupEligibleToMigrate(conversation);
const isEligible = await isGroupEligibleToMigrate(conversation);
const previousGroupV1Id = conversation.get('groupId');

if (!isEligible || !previousGroupV1Id) {
Expand Down

0 comments on commit 38a672a

Please sign in to comment.