mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 02:39:05 +01:00
Reject mailbox owner properties for mailbox update.
This commit is contained in:
@@ -15,6 +15,7 @@ public class MailboxUpdateWithMailbox extends MailboxUpdate {
|
||||
public MailboxUpdateWithMailbox(List<MailboxVersion> clientSupports,
|
||||
MailboxProperties properties) {
|
||||
super(clientSupports, true);
|
||||
if (properties.isOwner()) throw new IllegalArgumentException();
|
||||
this.properties = properties;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user