Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33309267
D8247.1768804217.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
823 B
Referenced Files
None
Subscribers
None
D8247.1768804217.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, Jan 19, 6:30 AM (16 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5954880
Default Alt Text
D8247.1768804217.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