SpringAll icon indicating copy to clipboard operation
SpringAll copied to clipboard

Published post stay on stream of another pod accounts after deletion contacts

Open juliaviluhina opened this issue 10 years ago • 5 comments

Given Account1 on pod1 Account2 on pod2 Accounts is linked between each other in some aspect Public posts of both accounts are shown in streams of each accounts

Steps

  1. Sign in account1
  2. Add public post in account1
  3. Sign in account2 - post from step2 is shown
  4. Delete contacts between accounts in both accounts
  5. Delete post from step2
  6. Check in account2 visibility of post from step2

Expected result Deleted post from step 2 is not shown in both accounts

Actual result Deleted post from step 2 stay be shown in account2

juliaviluhina avatar Sep 29 '15 08:09 juliaviluhina

So the problem is that the retraction is not being sent to the user who are not in contacts. I suppose it can be solved by saving the list of people's ids to whom the original post was sent. However that won't work if the posts were fetched. Any ideas how to deal with that?

cmrd-senya avatar Apr 15 '16 18:04 cmrd-senya

4 Delete contacts between accounts in both accounts

So yeah this looks like a subset of #6806, so I guess it can be closed. Waiting for @SuperTux88 to confirm that this kind of issues has been fixed by #6873

Flaburgan avatar Jul 05 '16 10:07 Flaburgan

No, this was not fixed by #6873, this needs more work, which should be easier now that the federation rewrite is merged.

SuperTux88 avatar Jul 05 '16 12:07 SuperTux88

I just tested this with societas.online and diaspora.social. It works nearly in real-time! When I unconnected two accounts, the deleted post is deleted. If clicking on the "permalink" - button in Stream view I get a 404, refreshing the stream, the post is not visible.

Version was 0.7.99.0 / 0.7.99.0

tclaus avatar Jun 10 '21 19:06 tclaus

#7708 should have fixed that for at least public posts, but I'm not sure if it's still a problem for private posts (from reading the description of this PR, I don't remember all the details anymore ... I also started a bigger refactoring back then, which should further improve the situation, but I lost track because of the complexity ... but I should probably look back into it).

I'll keep this open until we know if this also works for private posts.

SuperTux88 avatar Jun 13 '21 00:06 SuperTux88