Merge pull request #2865 from oxen-io/unstable

fix typos
pull/2866/head
Audric Ackermann 2 years ago committed by GitHub
commit f3b3ee40a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -24,7 +24,7 @@
style-src 'self' 'unsafe-inline';" style-src 'self' 'unsafe-inline';"
/> />
<title>Session</title> <title>Session</title>
<link href="images/sesion/session_icon_128.png" rel="shortcut icon" /> <link href="images/session/session_icon.png" rel="shortcut icon" />
<link href="stylesheets/dist/manifest.css" rel="stylesheet" type="text/css" /> <link href="stylesheets/dist/manifest.css" rel="stylesheet" type="text/css" />
</head> </head>

@ -23,7 +23,7 @@
script-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline';
style-src 'self' 'unsafe-inline';" style-src 'self' 'unsafe-inline';"
/> />
<link href="images/sesion/session_icon_128.png" rel="shortcut icon" /> <link href="images/session/session_icon.png" rel="shortcut icon" />
<link href="stylesheets/dist/manifest.css" rel="stylesheet" type="text/css" /> <link href="stylesheets/dist/manifest.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>

@ -4,7 +4,7 @@ export const SessionContextMenuContainer = styled.div.attrs({
// custom props // custom props
})` })`
.react-contexify { .react-contexify {
// be sure it is more than the one set for the More Informations screen of messages // be sure it is more than the one set for the More Information screen of messages
z-index: 30; z-index: 30;
min-width: 200px; min-width: 200px;
box-shadow: 0px 0px 10px var(--context-menu-shadow-color) !important; box-shadow: 0px 0px 10px var(--context-menu-shadow-color) !important;

@ -27,7 +27,7 @@ const StyledMenuButton = styled.button`
`; `;
/** /**
* This is the Session Menu Botton. i.e. the button on top of the conversation list to start a new conversation. * This is the Session Menu Button. i.e. the button on top of the conversation list to start a new conversation.
* It has two state: selected or not and so we use an checkbox input to keep the state in sync. * It has two state: selected or not and so we use an checkbox input to keep the state in sync.
*/ */
export const MenuButton = () => { export const MenuButton = () => {

@ -91,7 +91,7 @@ export class SwarmPolling {
} }
/** /**
* Used fo testing only * Used for testing only
*/ */
public resetSwarmPolling() { public resetSwarmPolling() {
this.groupPolling = []; this.groupPolling = [];

@ -427,7 +427,7 @@ async function generateAndSendNewEncryptionKeyPair(
await groupConvo?.commit(); // this makes sure to include the new encryption keypair in the libsession usergroup wrapper await groupConvo?.commit(); // this makes sure to include the new encryption keypair in the libsession usergroup wrapper
}; };
// this is to be sent to the group pubkey adress // this is to be sent to the group pubkey address
await getMessageQueue().sendToGroup({ await getMessageQueue().sendToGroup({
message: keypairsMessage, message: keypairsMessage,
namespace: SnodeNamespaces.ClosedGroupMessage, namespace: SnodeNamespaces.ClosedGroupMessage,

@ -200,7 +200,7 @@ export function buildProfileForOutgoingMessage(params: { lokiProfile?: LokiProfi
const displayName = params.lokiProfile?.displayName; const displayName = params.lokiProfile?.displayName;
// no need to iclude the avatarPointer if there is no profileKey associated with it. // no need to include the avatarPointer if there is no profileKey associated with it.
const avatarPointer = const avatarPointer =
params.lokiProfile?.avatarPointer && params.lokiProfile?.avatarPointer &&
!isEmpty(profileKey) && !isEmpty(profileKey) &&

@ -330,7 +330,7 @@ export class MessageQueue {
const us = UserUtils.getOurPubKeyFromCache(); const us = UserUtils.getOurPubKeyFromCache();
let isSyncMessage = false; let isSyncMessage = false;
if (us && destinationPk.isEqual(us)) { if (us && destinationPk.isEqual(us)) {
// We allow a message for ourselve only if it's a ConfigurationMessage, a ClosedGroupNewMessage, // We allow a message for ourselves only if it's a ConfigurationMessage, a ClosedGroupNewMessage,
// or a message with a syncTarget set. // or a message with a syncTarget set.
if (MessageSender.isSyncMessage(message)) { if (MessageSender.isSyncMessage(message)) {

Loading…
Cancel
Save