disable typing indicators and read receipts by default

This commit is contained in:
Ryan Zhao 2021-12-16 16:22:44 +11:00
parent 19cb916fa1
commit 5e9695d234
2 changed files with 1 additions and 4 deletions

View File

@ -531,9 +531,6 @@ static NSTimeInterval launchStartedAt;
// enables this feature // enables this feature
[self.disappearingMessagesJob startIfNecessary]; [self.disappearingMessagesJob startIfNecessary];
// For non-legacy users, read receipts are on by default.
[self.readReceiptManager setAreReadReceiptsEnabled:YES];
[self startPollerIfNeeded]; [self startPollerIfNeeded];
[self startClosedGroupPoller]; [self startClosedGroupPoller];
[self startOpenGroupPollersIfNeeded]; [self startOpenGroupPollersIfNeeded];

View File

@ -63,7 +63,7 @@ public class TypingIndicatorsImpl : NSObject, TypingIndicators {
} }
private func setup() { private func setup() {
_areTypingIndicatorsEnabled = OWSPrimaryStorage.shared().dbReadConnection.bool(forKey: kDatabaseKey_TypingIndicatorsEnabled, inCollection: kDatabaseCollection, defaultValue: true) _areTypingIndicatorsEnabled = OWSPrimaryStorage.shared().dbReadConnection.bool(forKey: kDatabaseKey_TypingIndicatorsEnabled, inCollection: kDatabaseCollection, defaultValue: false)
} }
// MARK: - // MARK: -