Page MenuHomePhorge

D8247.1768804217.diff
No OneTemporary

Size
823 B
Referenced Files
None
Subscribers
None

D8247.1768804217.diff

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

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)

Event Timeline