Skip to content

Commit 266176e

Browse files
committed
chore: minor comment fixes
1 parent 1bf4da6 commit 266176e

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

ts/components/dialog/user-settings/pages/user-pro/ProSettingsPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ function ProStats() {
301301
const proLongerMessagesSent =
302302
mockProLongerMessagesSent ?? (Storage.get(SettingsKey.proLongerMessagesSent) || 0);
303303
const proBadgesSent = mockProBadgesSent ?? (Storage.get(SettingsKey.proBadgesSent) || 0);
304-
// those 2 are not a counter, but live based on what is in stored libsession/db
304+
// those 2 are not a counter, but live based on what is stored libsession/db
305305
const proPinnedConversations = mockProPinnedConversations ?? (pinnedConversations || 0);
306306
const proGroupsUpgraded = mockProGroupsUpgraded || 0;
307307

ts/data/settings-key.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,12 @@ export const SettingsKey = {
7070
proRotatingPrivateKeyHex: 'proRotatingPrivateKeyHex',
7171
/**
7272
* The ticket of the last fetched revocations list, number | undefined
73-
* Note: changed to this has to be done through the ProRevocationCache
73+
* Note: changes to this have to be done through the ProRevocationCache
7474
*/
7575
proRevocationListTicket: 'proRevocationListTicket',
7676
/**
7777
* The items of the last fetched revocations list, Array of items validating ProRevocationItemSchema (or undefined)
78-
* Note: changed to this has to be done through the ProRevocationCache
78+
* Note: changes to this have to be done through the ProRevocationCache
7979
*/
8080
proRevocationListItems: 'proRevocationListItems',
8181
proDetails: 'proDetails',

ts/receiver/queuedJob.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ async function processProDetailsForMsg({
478478
// - if there are no pro proof, or
479479
// - the pro proof is not valid (validOrExpired) at the time the message was sent, or
480480
// - the pro proof is expired at the time the message was sent, or
481-
// - the pro proof is revoked at the time
481+
// - the pro proof is revoked at the time the message was sent
482482
// do not save the pro features associated with that message
483483
if (
484484
!decodedEnvelope.validPro ||

ts/receiver/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export abstract class BaseDecodedEnvelope {
7979

8080
// we only want to set this if the pro proof has been confirmed valid
8181
// Note: this does not validate the expiry of the proof (or revoked), it only validates that the signature is valid.
82-
// Use this isProProXXX methods for that
82+
// Use this isProProof... methods for that
8383
this.validPro = args.decodedPro?.proStatus === 'ValidOrExpired' ? args.decodedPro : null;
8484
}
8585

0 commit comments

Comments
 (0)