Merge branch '1483-peer-session-crash' into 'master'

Do not create PeerSession for groups we created

Closes #1483

See merge request briar/briar!1344
This commit is contained in:
akwizgran
2021-12-15 12:37:46 +00:00
6 changed files with 204 additions and 26 deletions

View File

@@ -109,6 +109,11 @@ public interface PrivateGroupManager {
Collection<PrivateGroup> getPrivateGroups(Transaction txn)
throws DbException;
/**
* Returns true if the given private group was created by us.
*/
boolean isOurPrivateGroup(Transaction txn, PrivateGroup g) throws DbException;
/**
* Returns the text of the private group message with the given ID.
*/