Make sure any new call migration settings take effect on first launch

// FREEBIE
This commit is contained in:
Michael Kirk 2018-03-06 23:00:56 -05:00
parent bd48576075
commit c7871b28d4
1 changed files with 3 additions and 0 deletions

View File

@ -1064,6 +1064,9 @@ static NSString *const kURLHostVerifyPrefix = @"verify";
// TODO: Once "app ready" logic is moved into AppSetup, move this line there.
[[OWSProfileManager sharedManager] ensureLocalProfileCached];
// Incase anything changed while migrations ran
[[SignalApp sharedApp].callService createCallUIAdapter];
// Note that this does much more than set a flag;
// it will also run all deferred blocks.
[AppReadiness setAppIsReady];