diff options
author | Vika <vika@fireburn.ru> | 2023-06-15 17:03:53 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2023-06-15 17:03:53 +0300 |
commit | ed7049048cc4d12422c07ddbaa15fbb3662c0260 (patch) | |
tree | 7dc37332b8868a7a7f067056026a8d662bc0571d /kittybox-rs/src/frontend/onboarding.rs | |
parent | eca7687439c2b6f804603de75501b6737a82e5a2 (diff) | |
download | kittybox-ed7049048cc4d12422c07ddbaa15fbb3662c0260.tar.zst |
Add support for the IndieWeb Webring πΈπ
Optional at first. Onboarding UI not yet exposed.
Diffstat (limited to 'kittybox-rs/src/frontend/onboarding.rs')
-rw-r--r-- | kittybox-rs/src/frontend/onboarding.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kittybox-rs/src/frontend/onboarding.rs b/kittybox-rs/src/frontend/onboarding.rs index 88b533b..f797abd 100644 --- a/kittybox-rs/src/frontend/onboarding.rs +++ b/kittybox-rs/src/frontend/onboarding.rs @@ -72,6 +72,10 @@ async fn onboard<D: Storage + 'static>( .await .map_err(FrontendError::from)?; + db.set_setting::<settings::Webring>(user.me.as_str(), false) + .await + .map_err(FrontendError::from)?; + let (_, hcard) = { let mut hcard = data.user; hcard["properties"]["uid"] = serde_json::json!([&user_uid]); |