zinc-collective / convene

An Operating System for the Solidarity Economy
https://convene.zinc.coop
Other
56 stars 19 forks source link

Fix logic for determining if a Room has a hero image (aka header image) #2348

Closed anaulin closed 3 weeks ago

anaulin commented 3 weeks ago

Followup to https://github.com/zinc-collective/convene/pull/2302 to correctly identify if a Room has a hero image, taking into account that sometimes a Room might have a hero image association, but the associated Media object might not have an attachment.

A related question that this PR doesn't address is: why do we have Media objects with no attachment?