-
Notifications
You must be signed in to change notification settings - Fork 29
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
Comments do not federate thread_parent_guid attribute as stated in doc #124
Comments
It isn't in the library yet because diaspora doesn't support threads in comments yet. It is in the protocol specification because Friendica is already using it. When it gets added to the library, it needs to be actively added to the diaspora database and handled everywhere, that's the reason why it wasn't added here yet. Now it implicitly just works with the Since it's only a field, it can be added relatively quickly if needed. |
In one of my dreams, I have seen this attribute in a database.. Butt this just was a dream.. Of course, diaspora then needs a minimal change to show sub-comments, and a bigger change in UI and handling. |
It is in the database, as data, on comments that are in a thread (comments received from friendica) in the
A comment isn't a "Commentable", neither in diaspora, nor in the protocol specification. The only allowed comment parents are posts (status messages or reshares). If you comment on a comment you need to have the parent post still as parent, because only then the federation of the comment works, because only the post knows to where it was federated, and the comment to which you are responding goes into
Old diaspora versions will just display the comments in chronological order without the thread information, like diaspora currently just shows friendica comments without the thread information, but still correctly federates the thread information to other servers (for example back to another friendica which then displays the thread information again).
As said, the changes here in the library are easy and can be done quickly (only add the attribute at a few places), but the changes in diaspora to actually support the attribute are probably more work. So it's probably better to prepare the diaspora side first before adding the attribute here. |
Now I know about "comments_signature" table and the additional_data there. Thanks for clarification. |
If diaspora would support threaded comments - could these parent_guids simply written back to the additional_data and getting federation for free? |
In documentation the thread_parent_guid attribute is part of the comment entity.
Is this attribute really distributed? If not, this would be nice to see this in next release of federation protocol.
The text was updated successfully, but these errors were encountered: