Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3300183
D8247.id27859.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
823 B
Referenced Files
None
Subscribers
None
D8247.id27859.diff
View Options
diff --git a/keyserver/src/push/send.js b/keyserver/src/push/send.js
--- a/keyserver/src/push/send.js
+++ b/keyserver/src/push/send.js
@@ -23,6 +23,7 @@
rawThreadInfoFromServerThreadInfo,
threadInfoFromRawThreadInfo,
} from 'lib/shared/thread-utils.js';
+import { FUTURE_CODE_VERSION } from 'lib/shared/version-utils.js';
import type { Platform, PlatformDetails } from 'lib/types/device-types.js';
import { messageTypes } from 'lib/types/message-types-enum.js';
import {
@@ -786,7 +787,10 @@
);
const shouldBeEncrypted =
- isTextNotification && !collapseKey && codeVersion && codeVersion > 222;
+ isTextNotification &&
+ !collapseKey &&
+ codeVersion &&
+ codeVersion > FUTURE_CODE_VERSION;
const notifID = collapseKey ? collapseKey : dbID;
const { merged, ...rest } = notifTexts;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 18, 6:35 PM (21 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2535213
Default Alt Text
D8247.id27859.diff (823 B)
Attached To
Mode
D8247: Revert encrypted Android notification to avoid thread navigation regression
Attached
Detach File
Event Timeline
Log In to Comment