Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How are comments/like/dislikes synced? #6400

Open
BentiGorlich opened this issue May 16, 2024 · 2 comments
Open

How are comments/like/dislikes synced? #6400

BentiGorlich opened this issue May 16, 2024 · 2 comments

Comments

@BentiGorlich
Copy link

Describe the desired information/correction

I cannot find any information on how comments, like and dislikes are synced between different instances. Coming from mbin and lemmy I would have though that those would be shared by an Announce activity from the channel (group) actor. But according to the documentation Announce is only supported on Video objects.

@Chocobozzz
Copy link
Owner

Hi,

I would have though that those would be shared by an Announce activity from the channel (group) actor

You mean the channel that Announced the Video would also Announce Note/Like/Dislike on this particular Video?

Currently PeerTube just sends a Create activity to actors involved in the video (Actors that shared the video + Video owner that is the account and so a Person, not the channel which is a Group)

@BentiGorlich
Copy link
Author

Basically yes. You cannot announce a Note by itself (at least no one does), but you can Announce the Create actvitiy of it.

My observation is that with each Like and Dislike PeerTube sends an update activity which mbin currently interprets as an 'edit'. Which could be usedto fetch all likes and dislikes of a video, but it wouldput a lot of strain on both servers involved, because it would need go fetch a lot of data to gather the content of the 2 collections

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants