your personal website on atproto - mirror blento.app
25
fork

Configure Feed

Select the types of activity you want to include in your feed.

only delete "blento.{xyz}" site.standard.publications

Florian a576ce8c 1c287a79

+4 -2
+4 -2
src/lib/website/settings/sections/AccountSection.svelte
··· 31 31 }); 32 32 for (const record of records) { 33 33 const parsed = parseUri(record.uri); 34 - if (parsed) { 35 - await deleteRecord({ collection, rkey: parsed.rkey! }); 34 + if (!parsed?.rkey) continue; 35 + if (collection === 'site.standard.publication' && !parsed.rkey.startsWith('blento.')) { 36 + continue; 36 37 } 38 + await deleteRecord({ collection, rkey: parsed.rkey }); 37 39 } 38 40 } 39 41