Skip to content
This repository was archived by the owner on Oct 30, 2025. It is now read-only.

Commit ab86caf

Browse files
authored
Merge pull request #3119 from oxen-io/clearnet
Session 1.12.4
2 parents 5921251 + ce30326 commit ab86caf

File tree

25 files changed

+260
-235
lines changed

25 files changed

+260
-235
lines changed

actions/setup_and_build/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
name: 'Setup and build'
23
description: 'Setup and build Session Desktop'
34
runs:

build/entitlements.mac.plist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
<!-- Mac distribution -->
66
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
77
<true/>
8+
<key>com.apple.security.cs.allow-jit</key>
9+
<true/>
810
<key>com.apple.security.cs.disable-library-validation</key>
911
<true/>
1012
<key>com.apple.security.device.audio-input</key>

build/entitlements.mas.plist

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
<!-- Mac app store -->
66
<key>com.apple.security.app-sandbox</key>
77
<true/>
8+
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
9+
<true/>
10+
<key>com.apple.security.cs.allow-jit</key>
11+
<true/>
812
<key>com.apple.security.network.client</key>
913
<true/>
1014
<key>com.apple.security.files.user-selected.read-only</key>

build/notarize.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ exports.default = async function notarizing(context) {
2929
}
3030

3131
const options = {
32-
appBundleId: 'org.getsession.desktop',
32+
appBundleId: 'com.loki-project.messenger-desktop',
3333
appPath: `${appOutDir}/${appName}.app`,
3434
appleId: SIGNING_APPLE_ID,
3535
appleIdPassword: SIGNING_APP_PASSWORD,

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "session-desktop",
33
"productName": "Session",
44
"description": "Private messaging from your desktop",
5-
"version": "1.12.3",
5+
"version": "1.12.4",
66
"license": "GPL-3.0",
77
"author": {
88
"name": "Oxen Labs",
@@ -95,7 +95,7 @@
9595
"fs-extra": "9.0.0",
9696
"glob": "7.1.2",
9797
"image-type": "^4.1.0",
98-
"libsession_util_nodejs": "https://github.com/oxen-io/libsession-util-nodejs/releases/download/v0.3.1/libsession_util_nodejs-v0.3.1.tar.gz",
98+
"libsession_util_nodejs": "https://github.com/oxen-io/libsession-util-nodejs/releases/download/v0.3.19/libsession_util_nodejs-v0.3.19.tar.gz",
9999
"libsodium-wrappers-sumo": "^0.7.9",
100100
"linkify-it": "^4.0.1",
101101
"lodash": "^4.17.21",

stylesheets/_modules.scss

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@
2020
.module-contact-name__profile-number.italic {
2121
font-style: italic;
2222
}
23-
24-
.module-contact-name.compact {
25-
display: block;
26-
}
27-
2823
// Module: Message
2924

3025
.module-message__error-container {

ts/components/conversation/ContactName.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,11 @@ type Props = {
1313
profileName?: string | null;
1414
module?: string;
1515
boldProfileName?: boolean;
16-
compact?: boolean;
1716
shouldShowPubkey: boolean;
1817
};
1918

2019
export const ContactName = (props: Props) => {
21-
const { pubkey, name, profileName, module, boldProfileName, compact, shouldShowPubkey } = props;
20+
const { pubkey, name, profileName, module, boldProfileName, shouldShowPubkey } = props;
2221
const prefix = module || 'module-contact-name';
2322

2423
const convoName = useNicknameOrProfileNameOrShortenedPubkey(pubkey);
@@ -43,7 +42,7 @@ export const ContactName = (props: Props) => {
4342

4443
return (
4544
<span
46-
className={classNames(prefix, compact && 'compact')}
45+
className={classNames(prefix)}
4746
dir="auto"
4847
data-testid={`${prefix}__profile-name`}
4948
style={{

ts/components/conversation/message/message-content/Quote.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import classNames from 'classnames';
2-
import React, { useState } from 'react';
32
import { noop } from 'lodash';
3+
import React, { useState } from 'react';
44

55
import * as MIME from '../../../../types/MIME';
66
import * as GoogleChrome from '../../../../util/GoogleChrome';
@@ -291,7 +291,6 @@ const QuoteAuthor = (props: QuoteAuthorProps) => {
291291
pubkey={PubKey.shorten(author)}
292292
name={authorName}
293293
profileName={authorProfileName}
294-
compact={true}
295294
shouldShowPubkey={Boolean(props.showPubkeyForAuthor)}
296295
/>
297296
)}

ts/components/conversation/message/message-content/quote/QuoteAuthor.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ export const QuoteAuthor = (props: QuoteAuthorProps) => {
4141
<ContactName
4242
pubkey={PubKey.shorten(author)}
4343
name={authorName}
44-
compact={true}
4544
shouldShowPubkey={Boolean(authorName && !isMe && isPublic)}
4645
/>
4746
</StyledQuoteAuthor>

ts/components/dialog/ReactListModal.tsx

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import {
1414
} from '../../state/ducks/modalDialog';
1515
import {
1616
useSelectedIsPublic,
17+
useSelectedWeAreAdmin,
1718
useSelectedWeAreModerator,
1819
} from '../../state/selectors/selectedConversation';
1920
import { SortedReactionList } from '../../types/Reaction';
@@ -50,6 +51,11 @@ const StyledSendersContainer = styled(Flex)`
5051
padding: 0 16px 16px;
5152
`;
5253

54+
const StyledContactContainer = styled.span`
55+
text-overflow: ellipsis;
56+
overflow: hidden;
57+
`;
58+
5359
const StyledReactionBar = styled(Flex)`
5460
width: 100%;
5561
margin: 12px 0 20px 4px;
@@ -132,7 +138,7 @@ const ReactionSenders = (props: ReactionSendersProps) => {
132138
justifyContent={'space-between'}
133139
alignItems={'center'}
134140
>
135-
<Flex container={true} alignItems={'center'}>
141+
<Flex container={true} alignItems={'center'} style={{ overflow: 'hidden' }}>
136142
<Avatar
137143
size={AvatarSize.XS}
138144
pubkey={sender}
@@ -143,11 +149,13 @@ const ReactionSenders = (props: ReactionSendersProps) => {
143149
{sender === me ? (
144150
window.i18n('you')
145151
) : (
146-
<ContactName
147-
pubkey={sender}
148-
module="module-conversation__user"
149-
shouldShowPubkey={false}
150-
/>
152+
<StyledContactContainer>
153+
<ContactName
154+
pubkey={sender}
155+
module="module-conversation__user"
156+
shouldShowPubkey={false}
157+
/>
158+
</StyledContactContainer>
151159
)}
152160
</Flex>
153161
{sender === me && (
@@ -231,6 +239,7 @@ export const ReactListModal = (props: Props) => {
231239

232240
const msgProps = useMessageReactsPropsById(messageId);
233241
const isPublic = useSelectedIsPublic();
242+
const weAreAdmin = useSelectedWeAreAdmin();
234243
const weAreModerator = useSelectedWeAreModerator();
235244
const me = UserUtils.getOurPubKeyStrFromCache();
236245

@@ -362,7 +371,7 @@ export const ReactListModal = (props: Props) => {
362371
</>
363372
)}
364373
</p>
365-
{isPublic && weAreModerator && (
374+
{isPublic && (weAreAdmin || weAreModerator) && (
366375
<SessionButton
367376
text={window.i18n('clearAll')}
368377
buttonColor={SessionButtonColor.Danger}

0 commit comments

Comments
 (0)