diff --git a/src/tasks.rs b/src/tasks.rs index 287159d..9fb1047 100644 --- a/src/tasks.rs +++ b/src/tasks.rs @@ -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 }) &&