File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
components/dialog/user-settings/pages/user-pro Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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' ,
Original file line number Diff line number Diff 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 ||
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments