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:
2026-09-18 16:25:54 -07:00
parent 53ccc8f4de
commit 7080028437
9 changed files with 170 additions and 11 deletions
+6
View File
@@ -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 => {