fmt and update readme

This commit is contained in:
Jeffrey Paul 2019-12-14 07:49:35 -08:00
parent f2590fbe75
commit ceaed5f3e7
6 changed files with 52 additions and 24 deletions

View File

@ -6,7 +6,27 @@ archives the fediverse
[![CircleCI](https://circleci.com/gh/sneak/feta.svg?style=svg)](https://circleci.com/gh/sneak/feta)
# author
# ethics statement
It seems that some splinter groups are not well acquainted with the norms of
publishing data on the web.
Publishing your toots/messages on a server without marking them private or
requiring authentication and thus making them available to the web is an act
of affirmative consent to allowing others to download those toots/messages
(usually by viewing them in a browser on your profile page). If you don't
want your toots downloaded by remote/unauthenticated users on the web, do
not publish them to the web.
If you publish them to the whole web (and your home instance serves them to
all comers), do not be surprised or feel violated when people download (and
optionally save) them, as your home instance permits them to.
We do not have a right to be forgotten, as we do not have a right to delete
legitimately-obtained files from the hard drives of other people.
# Author
Jeffrey Paul <[sneak@sneak.berlin](mailto:sneak@sneak.berlin)>
[@sneak@sneak.berlin](https://s.sneak.berlin/@sneak)

View File

@ -5,6 +5,14 @@ import "github.com/rs/zerolog/log"
type tootIngester struct {
inbound chan *toot
recentlySeen
}
type tootHash string
type seenTootMemo struct {
lastSeen time.Time
tootHash tootHash
}
func newTootIngester() *tootIngester {