fix(tasks): fix pubkey filtering to show all activities instead of all tasks

This commit is contained in:
xeruf 2024-11-24 23:14:35 +01:00
parent cb15fbaac5
commit 654f273ad9
1 changed files with 1 additions and 1 deletions

View File

@ -494,7 +494,7 @@ impl TasksRelay {
fn filter(&self, task: &Task) -> bool {
self.state.matches(task) &&
(!!task.is_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
}) &&