mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 03:09:04 +01:00
Store correct original parent ID when rewrapping blog posts.
This commit is contained in:
@@ -60,7 +60,7 @@ public interface BlogManager {
|
||||
* Adds a comment to an existing blog post or reblogs it.
|
||||
*/
|
||||
void addLocalComment(LocalAuthor author, GroupId groupId,
|
||||
@Nullable String comment, BlogPostHeader wHeader)
|
||||
@Nullable String comment, BlogPostHeader parentHeader)
|
||||
throws DbException;
|
||||
|
||||
/**
|
||||
|
||||
@@ -25,7 +25,8 @@ public interface BlogPostFactory {
|
||||
throws FormatException, GeneralSecurityException;
|
||||
|
||||
Message createBlogComment(GroupId groupId, LocalAuthor author,
|
||||
@Nullable String comment, MessageId originalId, MessageId wrappedId)
|
||||
@Nullable String comment, MessageId parentOriginalId,
|
||||
MessageId parentCurrentId)
|
||||
throws FormatException, GeneralSecurityException;
|
||||
|
||||
/**
|
||||
@@ -44,11 +45,11 @@ public interface BlogPostFactory {
|
||||
* Wraps a blog comment
|
||||
*/
|
||||
Message wrapComment(GroupId groupId, byte[] descriptor, long timestamp,
|
||||
BdfList body, MessageId currentId) throws FormatException;
|
||||
BdfList body, MessageId parentCurrentId) throws FormatException;
|
||||
|
||||
/**
|
||||
* Re-wraps a previously wrapped comment
|
||||
*/
|
||||
Message rewrapWrappedComment(GroupId groupId, BdfList body,
|
||||
MessageId currentId) throws FormatException;
|
||||
MessageId parentCurrentId) throws FormatException;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user