Skip to main content

did_subscribes_to_entry

Function did_subscribes_to_entry 

Source
pub async fn did_subscribes_to_entry(
    pool: &SqlitePool,
    did: &str,
    entry_id: i64,
) -> Result<bool>
Expand description

Whether did currently subscribes to the feed feed_id owns (i.e. a sub_ref row exists). The authorization primitive behind every per-DID scoped read/mutation.