mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 03:09:04 +01:00
13 lines
407 B
Java
13 lines
407 B
Java
package org.briarproject.api.messaging;
|
|
|
|
import static org.briarproject.api.sync.SyncConstants.MAX_MESSAGE_BODY_LENGTH;
|
|
|
|
public interface MessagingConstants {
|
|
|
|
/** The maximum length of a private message's content type in bytes. */
|
|
int MAX_CONTENT_TYPE_LENGTH = 50;
|
|
|
|
/** The maximum length of a private message's body in bytes. */
|
|
int MAX_PRIVATE_MESSAGE_BODY_LENGTH = MAX_MESSAGE_BODY_LENGTH - 1024;
|
|
}
|