fix(tasks): fix pubkey filtering to show all activities instead of all tasks
This commit is contained in:
parent
cb15fbaac5
commit
654f273ad9
|
@ -494,7 +494,7 @@ impl TasksRelay {
|
||||||
|
|
||||||
fn filter(&self, task: &Task) -> bool {
|
fn filter(&self, task: &Task) -> bool {
|
||||||
self.state.matches(task) &&
|
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| {
|
self.priority.is_none_or(|prio| {
|
||||||
task.priority().unwrap_or(DEFAULT_PRIO) >= prio
|
task.priority().unwrap_or(DEFAULT_PRIO) >= prio
|
||||||
}) &&
|
}) &&
|
||||||
|
|
Loading…
Reference in New Issue