Page MenuHomePhabricator

D13111.diff
No OneTemporary

D13111.diff

diff --git a/keyserver/src/socket/socket.js b/keyserver/src/socket/socket.js
--- a/keyserver/src/socket/socket.js
+++ b/keyserver/src/socket/socket.js
@@ -9,7 +9,6 @@
import { baseLegalPolicies } from 'lib/facts/policies.js';
import { mostRecentMessageTimestamp } from 'lib/shared/message-utils.js';
-import { isStaff } from 'lib/shared/staff-utils.js';
import {
serverRequestSocketTimeout,
serverResponseTimeout,
@@ -378,8 +377,7 @@
if (
!viewer?.platformDetails ||
- !hasMinCodeVersion(viewer.platformDetails, minVersionsForCompression) ||
- !isStaff(viewer.id)
+ !hasMinCodeVersion(viewer.platformDetails, minVersionsForCompression)
) {
this.ws.send(stringMessage);
return;

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 25, 10:44 PM (20 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2581188
Default Alt Text
D13111.diff (737 B)

Event Timeline