1 use activitystreams::{base::AnyBase, context, primitives::OneOrMany};
5 pub(crate) fn lemmy_context() -> OneOrMany<AnyBase> {
6 let context_ext = AnyBase::from_arbitrary_json(json!(
8 "sc": "http://schema.org#",
9 "sensitive": "as:sensitive",
10 "stickied": "as:stickied",
11 "pt": "https://join-lemmy.org#",
14 "id": "pt:commentsEnabled"
16 "moderators": "as:moderators",
19 "id": "as:alsoKnownAs"
22 .expect("parse context");
24 AnyBase::from(context()),
26 AnyBase::from(Url::parse("https://w3id.org/security/v1").expect("parse context")),