ISH-367
Created by Laura Hausmann
2 years ago
Jun 17 2024, 00:50 GMT+2
Updated by Laura Hausmann
2 years ago
Jun 29 2024, 01:27 GMT+2
Follow/unfollow activities don't have the same identifier

We added unique identifiers for these to bypass mastodon's "feature" of ignoring follow activities for 6 hours after receiving an unfollow activity that doesn't match a known follow relationship (which is not uncommon when debugging federation issues). This causes implementations that expect follow & unfollow to have the same identifier to not be able to reconcile the two. We can't solve this problem for existing follow relationships, but we can add a new column (e.g. activityId, relationshipId or discriminator) that contains a unique identifier for (new) outgoing follows, and use that (with a fallback to the current random identifier) when rendering unfollow activities.

Avatar
Released in version: v2024.1-beta1
Avatar
Released in version: v2024.1-beta1
Avatar
Released in version: v2024.1-beta1
Project
Iceshrimp.NET
Priority
Normal
N
Type
Bug
B
State
Fixed
F
Assignee
Laura Hausmann
Avatar
Subsystem
Backend
B
Component
Federation / AP Core
F
Affected version
Unknown
Target version
v2024.1-beta1
V
Released in version
v2024.1-beta1
V