aboutsummaryrefslogtreecommitdiff
path: root/net-im/signal-desktop/files/patch-ts_util_getNotificationTextForMessage.ts
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/signal-desktop/files/patch-ts_util_getNotificationTextForMessage.ts')
-rw-r--r--net-im/signal-desktop/files/patch-ts_util_getNotificationTextForMessage.ts20
1 files changed, 0 insertions, 20 deletions
diff --git a/net-im/signal-desktop/files/patch-ts_util_getNotificationTextForMessage.ts b/net-im/signal-desktop/files/patch-ts_util_getNotificationTextForMessage.ts
deleted file mode 100644
index db8196abeaba..000000000000
--- a/net-im/signal-desktop/files/patch-ts_util_getNotificationTextForMessage.ts
+++ /dev/null
@@ -1,20 +0,0 @@
---- ts/util/getNotificationTextForMessage.ts.orig 2025-05-23 12:11:17 UTC
-+++ ts/util/getNotificationTextForMessage.ts
-@@ -56,7 +56,7 @@ export function getNotificationTextForMessage(
- });
- }
-
-- if (!window.Signal.OS.isLinux()) {
-+ if (!(window.Signal.OS.isLinux() || window.Signal.OS.isFreeBSD())) {
- return attributes.storyReaction.emoji;
- }
-
-@@ -73,7 +73,7 @@ export function getNotificationTextForMessage(
-
- // Linux emoji support is mixed, so we disable it. (Note that this doesn't touch
- // the `text`, which can contain emoji.)
-- const shouldIncludeEmoji = Boolean(emoji) && !window.Signal.OS.isLinux();
-+ const shouldIncludeEmoji = Boolean(emoji) && (!(window.Signal.OS.isLinux() || window.Signal.OS.isFreeBSD()))
- if (shouldIncludeEmoji) {
- return window.i18n('icu:message--getNotificationText--text-with-emoji', {
- text: result.body,