Compare commits

..

2 Commits

Author SHA1 Message Date
akwizgran
e1502e6fab Disable image attachments for remote contacts alpha. 2019-06-28 14:22:35 +01:00
akwizgran
d145a082f5 Bump client minor version to avoid triggering crash. 2019-06-28 14:07:28 +01:00
3 changed files with 3 additions and 3 deletions

View File

@@ -239,7 +239,7 @@ public class AppModule {
@Override @Override
public boolean shouldEnableImageAttachments() { public boolean shouldEnableImageAttachments() {
return IS_DEBUG_BUILD; return false;
} }
@Override @Override

View File

@@ -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.

View File

@@ -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;