diff options
author | Vika <vika@fireburn.ru> | 2023-02-27 00:07:51 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2023-02-27 00:07:51 +0300 |
commit | eb58228abf97ebca4ebe18d7803cbc2ca4c5df40 (patch) | |
tree | 5fbbefa0a317f01453b87068abab3fd7e17429ea /kittybox-rs/src/micropub/util.rs | |
parent | f8db76548c9fb15474ffa9cf0f545bd35191d73a (diff) | |
download | kittybox-eb58228abf97ebca4ebe18d7803cbc2ca4c5df40.tar.zst |
Clarity improvements
Diffstat (limited to 'kittybox-rs/src/micropub/util.rs')
-rw-r--r-- | kittybox-rs/src/micropub/util.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kittybox-rs/src/micropub/util.rs b/kittybox-rs/src/micropub/util.rs index 5097878..b884e8a 100644 --- a/kittybox-rs/src/micropub/util.rs +++ b/kittybox-rs/src/micropub/util.rs @@ -129,6 +129,7 @@ pub fn normalize_mf2(mut body: serde_json::Value, user: &TokenData) -> (String, match body["type"][0].as_str() { Some("h-entry") => { // Set the channel to the main channel... + // TODO find like posts and move them to separate private channel let default_channel = me.join(DEFAULT_CHANNEL_PATH).unwrap().to_string(); body["properties"]["channel"] = json!([default_channel]); |