To reproduce:
- enable calendar plugin
- enable events
- enable calendar on a category
- create a topic with an event
- unlist the topic (unlisting can also be caused by spam flagging or moderator actions)
Result:
- the topic disappears from the topic list (for non-staff and lower trust levels)
- look at the calendar and see the event is still visible - for everyone.
Expected:
- events from unlisted topics do not appear in the calendar