mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-15 20:29:52 +01:00
Make the group field of messages optional.
Private messages have no group.
This commit is contained in:
@@ -6,7 +6,11 @@ import java.security.PrivateKey;
|
||||
|
||||
public interface MessageEncoder {
|
||||
|
||||
/** Encodes an anonymous to an unrestricted group. */
|
||||
/** Encodes a private message. */
|
||||
Message encodeMessage(MessageId parent, byte[] body) throws IOException,
|
||||
GeneralSecurityException;
|
||||
|
||||
/** Encodes an anonymous message to an unrestricted group. */
|
||||
Message encodeMessage(MessageId parent, Group group, byte[] body)
|
||||
throws IOException, GeneralSecurityException;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user