Skip to main content


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.

Friendica Support reshared this.

in reply to Gidi Kroon

I've been able to reproduce it by importing contacts with a followed accounts list that contained just my two other accounts. These were listed as 'Mutual friendship' before the import and as 'I follow them' after the import. On both of these two accounts themselves (on other servers) the connection is shown as mutual.
Unknown parent

Gidi Kroon
@Michael Vogel Yes. I admit it is a rather niche use case. On an account that had been in use for a while, I imported contacts from a Pleroma export. Then some days later I imported contacts from a Mastodon export. These lists did contain duplicates, including some accounts that were also following me. These got their relationship changed; however, the good news is that this is apparently not happening 'randomly'.

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 to FRIEND, it gets reset to SHARING.