add clarification about post deletion

This commit is contained in:
glyph 2022-09-09 10:56:40 +01:00
parent 771eb40452
commit 0548c6e42a
1 changed files with 2 additions and 0 deletions

View File

@ -219,6 +219,8 @@ We still need to mount these routes to our Rocket application in `src/main.rs` a
We already have a `remove_peer()` method in our database which is used when we unsubscribe from a peer. Now we'll write the equivalent method for a post.
Remember that we are deleting the post from our key-value store, _not_ the sbot database! The message will remain in the log kept by the sbot.
`src/db.rs`
```rust