mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 11:19:04 +01:00
Move RemoteWipeConstants to briar-api
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package org.briarproject.briar.remotewipe;
|
||||
|
||||
public interface RemoteWipeConstants {
|
||||
|
||||
int THRESHOLD = 2;
|
||||
long MAX_MESSAGE_AGE = 24 * 60 * 60 * 1000;
|
||||
|
||||
// Group metadata keys
|
||||
String GROUP_KEY_CONTACT_ID = "contactId";
|
||||
String GROUP_KEY_WIPERS = "wipers";
|
||||
String GROUP_KEY_RECEIVED_WIPE = "receivedWipe";
|
||||
|
||||
// Message metadata keys
|
||||
String MSG_KEY_TIMESTAMP = "timestamp";
|
||||
String MSG_KEY_MESSAGE_TYPE = "messageType";
|
||||
String MSG_KEY_LOCAL = "local";
|
||||
}
|
||||
Reference in New Issue
Block a user