New users opt-out of read receipts; legacy users opt-in.

// FREEBIE
This commit is contained in:
Matthew Chen 2017-09-14 16:01:10 -04:00
parent 40d728e022
commit 65732af3da
1 changed files with 3 additions and 0 deletions

View File

@ -837,6 +837,9 @@ static NSString *const kURLHostVerifyPrefix = @"verify";
// enables this feature
[[OWSDisappearingMessagesJob sharedJob] startIfNecessary];
[[OWSProfileManager sharedManager] ensureLocalProfileCached];
// For non-legacy users, read receipts are on by default.
[[Environment preferences] setAreReadReceiptsEnabled:YES];
}
}