mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-16 20:59:54 +01:00
Added a factory method for unrestricted groups.
This commit is contained in:
@@ -26,6 +26,10 @@ class GroupFactoryImpl implements GroupFactory {
|
||||
this.writerFactory = writerFactory;
|
||||
}
|
||||
|
||||
public Group createGroup(String name) throws IOException {
|
||||
return createGroup(name, null);
|
||||
}
|
||||
|
||||
public Group createGroup(String name, byte[] publicKey) throws IOException {
|
||||
ByteArrayOutputStream out = new ByteArrayOutputStream();
|
||||
Writer w = writerFactory.createWriter(out);
|
||||
|
||||
Reference in New Issue
Block a user