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

Separate comment distinguish #2740

Merged
merged 6 commits into from
Feb 18, 2023
Merged

Separate comment distinguish #2740

merged 6 commits into from
Feb 18, 2023

Conversation

dessalines
Copy link
Member

No description provided.

@@ -342,6 +343,10 @@ impl SendActivity for SaveComment {
type Response = CommentResponse;
}

impl SendActivity for DistinguishComment {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably be federated, because its similar to featurepost or lockpost, but I'm not exactly sure how to do so.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For now its federated via Update/Comment so you need to send CreateOrUpdateNote::send() for the distinguished comment.

Later we will have to implement a collection of distinguished comments for each post, and federate these actions as Add/Collection or Remove/Action. Similar to #2716.

@Nutomic Nutomic enabled auto-merge (squash) February 18, 2023 13:27
@dessalines dessalines merged commit 1917e3d into main Feb 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants