Disappearing followers
!Friendica Support
I used to have a mutual connection between my Friendica account and my Mastodon and Pleroma accounts. Yesterday I noticed that on Friendica the accounts were listed as one-way, as if they were not following my Friendica account anymore. I confirmed that both on the Pleroma and the Mastodon server, my Friendica account was still listed as followed, but no posts were coming in. I've found that this has also happened with accounts that aren't me.
For my own accounts I have of course simply fixed it by doing a quick unfollow-follow. I'm trying to figure out what happened and whether it can happen again, but am not getting anywhere by looking in logs or db (am on recent stable, all up to date). Does anybody recognise this behaviour, or is this only on my server? Is there anything I can look at in the db to recognise which contacts are not followers anymore but no Undo-Follow activity was received? E.g. Pleroma stores all received activities.
I used to have a mutual connection between my Friendica account and my Mastodon and Pleroma accounts. Yesterday I noticed that on Friendica the accounts were listed as one-way, as if they were not following my Friendica account anymore. I confirmed that both on the Pleroma and the Mastodon server, my Friendica account was still listed as followed, but no posts were coming in. I've found that this has also happened with accounts that aren't me.
For my own accounts I have of course simply fixed it by doing a quick unfollow-follow. I'm trying to figure out what happened and whether it can happen again, but am not getting anywhere by looking in logs or db (am on recent stable, all up to date). Does anybody recognise this behaviour, or is this only on my server? Is there anything I can look at in the db to recognise which contacts are not followers anymore but no Undo-Follow activity was received? E.g. Pleroma stores all received activities.
Friendica Support reshared this.
Gidi Kroon
in reply to Gidi Kroon • •Gidi Kroon
Unknown parent • •I think line 2433 of Contact.php is to blame (line 2465 on develop):
$new_relation = (($contact['rel'] == self::FOLLOWER) ? self::FRIEND : self::SHARING);
This is executed for updating existing contacts in the import process. However, when the contact already has
rel
set toFRIEND
, it gets reset toSHARING
.