Unverified Commit d145a082 authored by akwizgran's avatar akwizgran

Bump client minor version to avoid triggering crash.

parent 4fd012c3
Pipeline #3636 passed with stages
in 8 minutes and 50 seconds
...@@ -30,7 +30,7 @@ public interface MessagingManager extends ConversationClient { ...@@ -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 { ...@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment