feat(tasks): show activities to everyone

This commit is contained in:
xeruf 2024-11-22 09:29:50 +01:00
parent a6b611312b
commit 0cf354942e
1 changed files with 1 additions and 1 deletions

View File

@ -489,7 +489,7 @@ impl TasksRelay {
fn filter(&self, task: &Task) -> bool {
self.state.matches(task) &&
self.pubkey.is_none_or(|p| p == task.event.pubkey) &&
(!!task.is_task() || self.pubkey.is_none_or(|p| p == task.event.pubkey)) &&
self.priority.is_none_or(|prio| {
task.priority().unwrap_or(DEFAULT_PRIO) >= prio
}) &&