mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 11:19:04 +01:00
Compare commits
2 Commits
alpha-1.3.
...
alpha-1.2.
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e1502e6fab | ||
|
|
d145a082f5 |
@@ -239,7 +239,7 @@ public class AppModule {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean shouldEnableImageAttachments() {
|
public boolean shouldEnableImageAttachments() {
|
||||||
return IS_DEBUG_BUILD;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ public interface MessagingManager extends ConversationClient {
|
|||||||
/**
|
/**
|
||||||
* The current minor version of the messaging client.
|
* The current minor version of the messaging client.
|
||||||
*/
|
*/
|
||||||
int MINOR_VERSION = 1;
|
int MINOR_VERSION = 2;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Stores a local private message.
|
* Stores a local private message.
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ public class MessagingModule {
|
|||||||
conversationManager.registerConversationClient(messagingManager);
|
conversationManager.registerConversationClient(messagingManager);
|
||||||
// Advertise the current or previous minor version depending on the
|
// Advertise the current or previous minor version depending on the
|
||||||
// feature flag
|
// feature flag
|
||||||
int minorVersion = featureFlags.shouldEnableImageAttachments() ? 1 : 0;
|
int minorVersion = featureFlags.shouldEnableImageAttachments() ? 2 : 0;
|
||||||
clientVersioningManager.registerClient(CLIENT_ID, MAJOR_VERSION,
|
clientVersioningManager.registerClient(CLIENT_ID, MAJOR_VERSION,
|
||||||
minorVersion, messagingManager);
|
minorVersion, messagingManager);
|
||||||
return messagingManager;
|
return messagingManager;
|
||||||
|
|||||||
Reference in New Issue
Block a user