diff --git a/interactions.njk b/interactions.njk index 1c2bdf6..de3f4a2 100644 --- a/interactions.njk +++ b/interactions.njk @@ -480,7 +480,8 @@ function interactionsApp() { } this.notConfigured = false; - const merged = this.mergeAndDeduplicate(allWm, allConv); + const merged = this.mergeAndDeduplicate(allWm, allConv) + .filter(wm => !wm.is_owner && !this.isSelfBsky(wm)); merged.sort((a, b) => { const dateA = new Date(a.published || a['wm-received'] || 0); @@ -498,6 +499,15 @@ function interactionsApp() { } }, + isSelfBsky(wm) { + const u = (wm['wm-source'] || '').toLowerCase(); + const a = (wm.author?.url || '').toLowerCase(); + return u.includes('bsky.app/profile/svemagie.bsky.social') || + u.includes('did:plc:g4utqyolpyb5zpwwodmm3hht') || + a.includes('bsky.app/profile/svemagie.bsky.social') || + a.includes('did:plc:g4utqyolpyb5zpwwodmm3hht'); + }, + detectPlatform(item) { const source = item['wm-source'] || ''; const authorUrl = item.author?.url || '';