Masked email: x:MaskedEmail/changes and a state in /get (fork additions)
The fork's per-account change log answers /changes, collapsing a mask created and destroyed in the window. /changes on a registry type needs that type's get permission.
This commit is contained in:
@@ -357,6 +357,12 @@ impl RegistryGet for Server {
|
||||
get.insert(id, object);
|
||||
}
|
||||
|
||||
// inbuxa: a state for masked email (a fork addition)
|
||||
if object_type == ObjectType::MaskedEmail {
|
||||
get.response.state =
|
||||
Some(crate::inbuxa::masked_email::state(self, get.account_id).await?);
|
||||
}
|
||||
|
||||
Ok(get.into_response())
|
||||
}
|
||||
ObjectType::QueuedMessage => {
|
||||
|
||||
Reference in New Issue
Block a user