1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00
mastodon/app
Claire be3b9f8151
Fix URI of repeat follow requests not being recorded (#15662)
* Fix URI of repeat follow requests not being recorded

In case we receive a “repeat” or “duplicate” follow request, we automatically
fast-forward the accept with the latest received Activity `id`, but we don't
record it.

In general, a “repeat” or “duplicate” follow request may happen if for some
reason (e.g. inconsistent handling of Block or Undo Accept activities, an
instance being brought back up from the dead, etc.) the local instance thought
the remote actor were following them while the remote actor thought otherwise.

In those cases, the remote instance does not know about the older Follow
activity `id`, so keeping that record serves no purpose, but knowing the most
recent one is useful if the remote implementation at some point refers to it
by `id` without inlining it.

* Add tests
2021-02-11 01:53:44 +01:00
..
chewy Change tootctl search deploy algorithm (#14300) 2020-07-14 18:10:35 +02:00
controllers Create instance actor if it hasn't been properly seeded (#15693) 2021-02-09 18:12:54 +01:00
helpers Change RTL detection to rely on unicode-bidi paragraph by paragraph (#14573) 2020-12-15 12:56:43 +01:00
javascript Slightly reorder three dots menu on toots to make it more intuitive (#15647) 2021-02-11 01:05:04 +01:00
lib Fix URI of repeat follow requests not being recorded (#15662) 2021-02-11 01:53:44 +01:00
mailers Change account suspensions to be reversible by default (#14726) 2020-09-15 14:37:58 +02:00
models Create instance actor if it hasn't been properly seeded (#15693) 2021-02-09 18:12:54 +01:00
policies Fix admins being able to suspend their instance actor (#14567) 2020-12-15 17:23:58 +01:00
presenters Use Enumerable#filter_map in more places (#15527) 2021-01-22 16:28:15 +01:00
serializers Use existing FeaturedTag serializer and delete AccountFeaturedTag serializer (#15415) 2020-12-23 16:43:38 +01:00
services Fix first return value of FetchLinkCardService.html method (#15630) 2021-01-25 09:22:41 +01:00
validators Optimize some regex matching (#15528) 2021-01-22 10:09:08 +01:00
views Fix Google Translate breaking web interface (#15610) 2021-01-21 14:29:54 +01:00
workers Fix being able to import more than allowed number of follows (#15384) 2020-12-26 23:52:46 +01:00