Page MenuHomePhabricator

D5820.id19172.diff
No OneTemporary

D5820.id19172.diff

diff --git a/keyserver/src/responders/user-responders.js b/keyserver/src/responders/user-responders.js
--- a/keyserver/src/responders/user-responders.js
+++ b/keyserver/src/responders/user-responders.js
@@ -4,7 +4,6 @@
import t from 'tcomb';
import bcrypt from 'twin-bcrypt';
-import { policyTypes } from 'lib/facts/policies.js';
import { hasMinCodeVersion } from 'lib/shared/version-utils';
import type {
ResetPasswordRequest,
@@ -64,7 +63,6 @@
updateUserSettings,
} from '../updaters/account-updaters';
import { userSubscriptionUpdater } from '../updaters/user-subscription-updaters';
-import { viewerAcknowledgmentUpdater } from '../updaters/viewer-acknowledgment-updater.js';
import { validateInput } from '../utils/validation-utils';
import {
entryQueryInputValidator,
@@ -260,17 +258,6 @@
}
const messageSelectionCriteria = { threadCursors, joinedThreads: true };
- let acknowledgmentUpdate = undefined;
- if (
- input.source === logInActionSources.logInFromNativeForm ||
- (!hasMinCodeVersion(viewer.platformDetails, 99999) && !input.source)
- ) {
- acknowledgmentUpdate = viewerAcknowledgmentUpdater(
- viewer,
- policyTypes.tosAndPrivacyPolicy,
- );
- }
-
const [
threadsResult,
messagesResult,
@@ -283,7 +270,6 @@
calendarQuery ? fetchEntryInfos(viewer, [calendarQuery]) : undefined,
fetchKnownUserInfos(viewer),
fetchLoggedInUserInfo(viewer),
- acknowledgmentUpdate,
]);
const rawEntryInfos = entriesResult ? entriesResult.rawEntryInfos : null;

File Metadata

Mime Type
text/plain
Expires
Mon, Dec 23, 9:57 PM (18 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2695522
Default Alt Text
D5820.id19172.diff (1 KB)

Event Timeline