feat(tasks): show activities to everyone
This commit is contained in:
parent
a6b611312b
commit
0cf354942e
|
@ -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
|
||||
}) &&
|
||||
|
|
Loading…
Reference in New Issue