mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 11:19:04 +01:00
Allow unsubscribing from shared blogs
Only personal blogs from non-contacts can be removed. This also adds integration tests that check if blogs can actually be removed. Closes #579
This commit is contained in:
@@ -67,7 +67,7 @@ public class BlogPostValidatorTest extends BriarTestCase {
|
||||
AuthorId authorId = new AuthorId(TestUtils.getRandomBytes(AuthorId.LENGTH));
|
||||
byte[] publicKey = TestUtils.getRandomBytes(MAX_PUBLIC_KEY_LENGTH);
|
||||
author = new Author(authorId, "Author", publicKey);
|
||||
blog = new Blog(group, "Test Blog", "", author, false);
|
||||
blog = new Blog(group, "Test Blog", "", author);
|
||||
|
||||
MessageId messageId = new MessageId(TestUtils.getRandomId());
|
||||
long timestamp = System.currentTimeMillis();
|
||||
|
||||
Reference in New Issue
Block a user