From 0cf354942e820b1b701610468d01493f7454ca9a Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Fri, 22 Nov 2024 09:29:50 +0100 Subject: [PATCH] feat(tasks): show activities to everyone --- src/tasks.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }) &&