GoToSocial/internal/federation/dereferencing
kim 7a1aa04bbb
[bugfix] update thread iterators to not use recursion (#851)
* update thread iterators to not use recursion, rewrote both

Signed-off-by: kim <grufwub@gmail.com>

* fix endless descendant deref, don't error if fetching existing status

Signed-off-by: kim <grufwub@gmail.com>

* don't refetch remote ancestor statuses, improve descendant iter commenting

Signed-off-by: kim <grufwub@gmail.com>

* move collection page next logic so we capture first page of entities

Signed-off-by: kim <grufwub@gmail.com>

* improve log format argument quoting

Signed-off-by: kim <grufwub@gmail.com>

* improve code commenting of collection paging

Signed-off-by: kim <grufwub@gmail.com>

* only dereference announce's originating status if _not_ local. update DereferenceThread() signature. cleanup searchStatusByURI()

Signed-off-by: kim <grufwub@gmail.com>

Signed-off-by: kim <grufwub@gmail.com>
2022-09-25 13:09:41 +02:00
..
account_test.go
account.go
announce.go [bugfix] update thread iterators to not use recursion (#851) 2022-09-25 13:09:41 +02:00
collectionpage.go
dereferencer_test.go
dereferencer.go [bugfix] update thread iterators to not use recursion (#851) 2022-09-25 13:09:41 +02:00
emoji_test.go
emoji.go
finger.go
handshake.go
instance.go
media_test.go
media.go
status_test.go
status.go [bugfix] update thread iterators to not use recursion (#851) 2022-09-25 13:09:41 +02:00
thread.go [bugfix] update thread iterators to not use recursion (#851) 2022-09-25 13:09:41 +02:00