Changeset 8a474ab in Klonkt for src/services/ap-timeline.js
- Timestamp:
- 09/23/2026 12:13:31 PM (6 hours ago)
- Branches:
- main
- Children:
- 0ad37a0
- Parents:
- fa24f7b
- File:
-
- 1 edited
-
src/services/ap-timeline.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/services/ap-timeline.js
rfa24f7b r8a474ab 486 486 /** Bijlagen door de beeld- en muziekpoort. Leeg wordt undefined, zoals de 487 487 * serialisatie dat overal doet. */ 488 export function gateAttachments(atts, { images = true, audio = true } = {}) {488 export function gateAttachments(atts, { images = true, audio = true, video = true } = {}) { 489 489 if (!Array.isArray(atts)) return atts; 490 490 const out = atts.filter((a) => { … … 492 492 if (!images && mt.startsWith('image/')) return false; 493 493 if (!audio && (mt.startsWith('audio/') || (a && a.type === 'Audio'))) return false; 494 // Film hoorde hier ook thuis (shaer-mxh2) en stond er niet: met plaatjes en 495 // muziek dicht kwam een video er nog steeds gewoon doorheen. 496 if (!video && (mt.startsWith('video/') || (a && a.type === 'Video'))) return false; 494 497 return true; 495 498 });
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)