Bump client minor version to avoid triggering crash.

This commit is contained in:
akwizgran
2019-06-28 14:07:28 +01:00
parent 4fd012c31a
commit d145a082f5
2 changed files with 2 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ public interface MessagingManager extends ConversationClient {
/**
* The current minor version of the messaging client.
*/
int MINOR_VERSION = 1;
int MINOR_VERSION = 2;
/**
* Stores a local private message.

View File

@@ -65,7 +65,7 @@ public class MessagingModule {
conversationManager.registerConversationClient(messagingManager);
// Advertise the current or previous minor version depending on the
// feature flag
int minorVersion = featureFlags.shouldEnableImageAttachments() ? 1 : 0;
int minorVersion = featureFlags.shouldEnableImageAttachments() ? 2 : 0;
clientVersioningManager.registerClient(CLIENT_ID, MAJOR_VERSION,
minorVersion, messagingManager);
return messagingManager;