mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-11 18:29:05 +01:00
Do not create PeerSession for groups we created
This needs a CreatorSession which gets created on-demand.
This commit is contained in:
@@ -109,6 +109,11 @@ public interface PrivateGroupManager {
|
||||
Collection<PrivateGroup> getPrivateGroups(Transaction txn)
|
||||
throws DbException;
|
||||
|
||||
/**
|
||||
* Returns true if the private group with the given ID was created by us.
|
||||
*/
|
||||
boolean isOurPrivateGroup(Transaction txn, GroupId g) throws DbException;
|
||||
|
||||
/**
|
||||
* Returns the text of the private group message with the given ID.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user