Hide "become a sustainer" button if you're already a sustainer

This commit is contained in:
Evan Hahn
2021-11-30 10:29:57 -06:00
committed by GitHub
parent 7edf3763a8
commit 67b17ec317
22 changed files with 318 additions and 26 deletions

View File

@@ -772,6 +772,7 @@ async function removeAllSignedPreKeys() {
const ITEM_KEYS: Partial<Record<ItemKeyType, Array<string>>> = {
senderCertificate: ['value.serialized'],
senderCertificateNoE164: ['value.serialized'],
subscriberId: ['value'],
profileKey: ['value'],
};
async function createOrUpdateItem<K extends ItemKeyType>(data: ItemType<K>) {