diff --git a/src/data.rs b/src/data.rs index c935d4d..190fd3a 100644 --- a/src/data.rs +++ b/src/data.rs @@ -113,9 +113,11 @@ pub async fn is_fitting( Ok(recipients.contains(&listener_id)) } else if message_data.entity == "shout" { // payload is Shout + // TODO: check all community subscribers if no then // TODO: check all topics subscribers if no then // TODO: check all authors subscribers + Ok(true) } else if message_data.entity == "chat" { // payload is Chat