Signal-iOS/SignalMessaging/groups
Max Radermacher 56bfcf3d72
Remove redundant fetches during gv2 migration
The `attemptToMigrateByCreatingOnService` method has a single caller,
and that caller also calls `tryToPrepareMembersForMigration` first. The
former is called when `migrationMode`’s `canMigrateToService` is true,
and the latter does a CDS lookup & profile key fetches if
`migrationMode`’s `isOnlyUpdatingIfAlreadyMigrated` is false; these two
conditions are true in the same situations. As a result, these CDS
lookups and profile key fetches aren’t necessary.

(This also removes an extra `firstly` block. I’d recommend ignoring
whitespace while reviewing the change.)
2022-10-12 10:17:26 -07:00
..
GroupsV2AvatarDownloadOperation.swift Convert to new Promise library 2021-09-03 11:41:34 -07:00
GroupsV2Impl.swift Don't auto-migrate groups on app launch 2022-09-29 09:35:00 -07:00
GroupsV2Impl+RestoreGroups.swift Sync group stories with storage service 2022-09-12 12:00:14 -07:00
GroupsV2IncomingChanges.swift Use "modern" proto fields instead of presentation for incoming group changes 2022-09-20 10:44:42 -07:00
GroupsV2Migration.swift Remove redundant fetches during gv2 migration 2022-10-12 10:17:26 -07:00
GroupsV2OutgoingChangesImpl.swift Remove old group capabilities 2022-09-29 09:35:00 -07:00
GroupsV2ProfileKeyUpdater.swift Remove requiredRevision arg from updateExistingGroupOnService, and make it private 2022-08-25 12:41:55 -07:00
GroupsV2Protos.swift Migrate to using ExpiredProfileKeyCredentials 2022-09-26 14:33:57 -07:00
GroupsV2Utils.swift Add OWSIdentityManager.shouldSharePhoneNumber(with:transaction:) 2022-05-19 14:20:53 -07:00
GroupV2Params.swift Update to LibSignalClient v0.15.0 2022-03-24 11:55:45 -07:00
GroupV2SnapshotImpl.swift Update to LibSignalClient v0.15.0 2022-03-24 11:55:45 -07:00
GroupV2UpdatesImpl.swift Migrate to using ExpiredProfileKeyCredentials 2022-09-26 14:33:57 -07:00
StorageService+GroupsV2.swift Migrate to using ExpiredProfileKeyCredentials 2022-09-26 14:33:57 -07:00