Compare commits

...

1 Commits

Author SHA1 Message Date
akwizgran
d145a082f5 Bump client minor version to avoid triggering crash. 2019-06-28 14:07:28 +01:00
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. * 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;