Skip to main content


Hi !Friendica Support, I started receiving in my Network page posts by a Diaspora contact who is apparently following me but that I don't follow myself.

I know Diaspora relationships work differently where you pick the people you want to share your content with, is there an issue with the direction of the relationship we show in Friendica for Diaspora contact?

For example, if I want to stop receiving posts from this contact, I should be able to use the Unfollow button, but since I'm not counted as following them, I can't. Do I have to use the "Revoke Follow" button for this?
It seems as if in Diaspora::receiveStatusMessage we simply process every post and don't check if we follow that contact. Please don't touch anything, I will perform some tests.
*lifts hands off keyboard*
Is it a public or private post?
It's a reshare of a public post.
Okay. Then have a look in your logfile with "Stored reshare" and the GUID of that post in it. Then have a look for the "uid" and "process_id" in that log line. Finally have a look for all entries with that "uid" and "process_id" in it.
Which one of the users don't you follow? billyidl@pod.automat.click or nokitakaze@nekocave.xyz?
Neither but billyidl@pod.automat.click is reported following me.
This entry was edited (1 year ago)
Can you send the logs for "uid":"587e4a","process_id":9127 as well?
Can it be that you activated to receive every content even if one of your followers has simply liked the content? From a first glance it looks like you received that content because of a like by the user https://lor.sh/users/inari.
I do not have any relationship with this account either way. It does have a public entry in my contact table, but that's it.
Okay, I know the reason why this is happening. It's these line:
2022-10-03T07:29:03Z index [DEBUG]: Message is directed to a user - accepted {"uri-id":4922553,"guid":"eec1d1d0251a013bbcc624bf011f9228","url":"https://pod.automat.click/objects/eec1d1d0251a013bbcc624bf011f9228","importer":1} - {"file":"DFRN.php","line":1723,"function":"isSolicitedMessage","uid":"587e4a","process_id":9127}
2022-10-03T07:29:03Z index [INFO]: Process verb http://activitystrea.ms/schema/1.0/like and object-type http://activitystrea.ms/schema/1.0/note for entrytype 1 [] - {"file":"DFRN.php","line":1577,"function":"processVerbs","uid":"587e4a","process_id":9127}

The contact had send you a "like" via DFRN. And since in DFRN we accept every post that is directed to a specific user, we imported it. I guess that in the same DFRN payload also the corresponding post was imported, I haven't checked that.

I guess that we should apply the same checks to DFRN that we apply to AP. When I'm home, I will have a look at it.
How does a Diaspora platform sends us a DFRN message?
It seems as if a DFRN user liked the Diaspora post that was a reshared Friendica post.
Can you please execute this query:
select id,uid,`uri-id`,verb from `post-user-view` where guid='f036d310251a013bbcc624bf011f9228';
5322010, 0, 4922551, http://activitystrea.ms/schema/1.0/post
Only one line? No line for user "1"?
Can you also try this query?
select id,uid,`uri-id`,verb from `post-user-view` where guid='a8d7043b-1463-3a81-5dd9-ee1434210784';
5322009, 0, 4922550, http://activitystrea.ms/schema/1.0/post
5322012, 1, 4922550, http://activitystrea.ms/schema/1.0/post
Okay. I've got the same situation here as well. From what I can see in the logs it's the "like" that started it all. See the line with Stored thread parent item for user in the logs. We receive the like, we decide to process it for the given user. Then the like is stored, but before it is stored we see that the parent is missing, so we fetch it.

This is a loophole that we have to close.
It's nice to see them talking but I'm not intimate enough with their protocol to provide a good answer.