From 59fc91bc6837ccf6180472bbbb3fdc8ad6e0393b Mon Sep 17 00:00:00 2001 From: Morgan Pretty Date: Fri, 19 Jan 2024 15:01:54 +1100 Subject: [PATCH] Removed an unneeded 'recurringOnLaunch' job schedule --- .../Database/Migrations/_018_GroupsRebuildChanges.swift | 7 ------- 1 file changed, 7 deletions(-) diff --git a/SessionMessagingKit/Database/Migrations/_018_GroupsRebuildChanges.swift b/SessionMessagingKit/Database/Migrations/_018_GroupsRebuildChanges.swift index 8ea5def92..c290f3f59 100644 --- a/SessionMessagingKit/Database/Migrations/_018_GroupsRebuildChanges.swift +++ b/SessionMessagingKit/Database/Migrations/_018_GroupsRebuildChanges.swift @@ -45,13 +45,6 @@ enum _018_GroupsRebuildChanges: Migration { .defaults(to: GroupMember.RoleStatus.accepted) } - // Schedule the ProcessPendingGroupMemberRemovalsJob to run on launch - _ = try Job( - variant: .processPendingGroupMemberRemovals, - behaviour: .recurringOnLaunch, - shouldBlock: false - ).migrationSafeInserted(db) - // Update existing groups where the current user is a member to have `shouldPoll` as `true` try ClosedGroup .joining(