diff --git a/android/app/build.gradle b/android/app/build.gradle index ea170d5ba..e9096e090 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -123,7 +123,7 @@ android { minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion missingDimensionStrategy "RNN.reactNativeVersion", "reactNative57_5" - versionCode 204 + versionCode 206 versionName "1.21.0" multiDexEnabled = true ndk { diff --git a/android/build.gradle b/android/build.gradle index c4991bc58..10f12f4b7 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -5,7 +5,7 @@ buildscript { buildToolsVersion = "28.0.3" minSdkVersion = 24 compileSdkVersion = 28 - targetSdkVersion = 26 + targetSdkVersion = 28 supportLibVersion = "28.0.0" } repositories { diff --git a/app/actions/views/command.js b/app/actions/views/command.js index a51266e25..dfc97208c 100644 --- a/app/actions/views/command.js +++ b/app/actions/views/command.js @@ -30,7 +30,7 @@ export function executeCommand(message, channelId, rootId) { const {data, error} = await dispatch(executeCommandService(msg, args)); - if (data.trigger_id) { + if (data?.trigger_id) { //eslint-disable-line camelcase dispatch({type: IntegrationTypes.RECEIVED_DIALOG_TRIGGER_ID, data: data.trigger_id}); } diff --git a/app/actions/views/typing.js b/app/actions/views/typing.js index 589f09030..bcd7e069c 100644 --- a/app/actions/views/typing.js +++ b/app/actions/views/typing.js @@ -5,7 +5,7 @@ import {userTyping as wsUserTyping} from 'mattermost-redux/actions/websocket'; export function userTyping(channelId, rootId) { return async (dispatch, getState) => { - const {websocket} = getState().device; + const {websocket} = getState(); if (websocket.connected) { wsUserTyping(channelId, rootId)(dispatch, getState); } diff --git a/app/screens/long_post/index.js b/app/screens/long_post/index.js index 90cb2a8fe..eb3a3b58f 100644 --- a/app/screens/long_post/index.js +++ b/app/screens/long_post/index.js @@ -4,9 +4,9 @@ import {bindActionCreators} from 'redux'; import {connect} from 'react-redux'; -import {selectPost, makeGetReactionsForPost} from 'mattermost-redux/actions/posts'; +import {selectPost} from 'mattermost-redux/actions/posts'; import {makeGetChannel} from 'mattermost-redux/selectors/entities/channels'; -import {getPost} from 'mattermost-redux/selectors/entities/posts'; +import {getPost, makeGetReactionsForPost} from 'mattermost-redux/selectors/entities/posts'; import {getTheme} from 'mattermost-redux/selectors/entities/preferences'; import {dismissModal, goToScreen} from 'app/actions/navigation'; diff --git a/ios/Mattermost.xcodeproj/project.pbxproj b/ios/Mattermost.xcodeproj/project.pbxproj index 880f2cbfb..568b8ba99 100644 --- a/ios/Mattermost.xcodeproj/project.pbxproj +++ b/ios/Mattermost.xcodeproj/project.pbxproj @@ -2785,7 +2785,7 @@ CODE_SIGN_ENTITLEMENTS = Mattermost/Mattermost.entitlements; CODE_SIGN_IDENTITY = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - CURRENT_PROJECT_VERSION = 204; + CURRENT_PROJECT_VERSION = 206; DEAD_CODE_STRIPPING = NO; DEVELOPMENT_TEAM = UQ8HT4Q2XM; ENABLE_BITCODE = NO; @@ -2845,7 +2845,7 @@ CODE_SIGN_ENTITLEMENTS = Mattermost/Mattermost.entitlements; CODE_SIGN_IDENTITY = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - CURRENT_PROJECT_VERSION = 204; + CURRENT_PROJECT_VERSION = 206; DEAD_CODE_STRIPPING = NO; DEVELOPMENT_TEAM = UQ8HT4Q2XM; ENABLE_BITCODE = NO; diff --git a/ios/Mattermost/Info.plist b/ios/Mattermost/Info.plist index f510b2885..9d660f7ed 100644 --- a/ios/Mattermost/Info.plist +++ b/ios/Mattermost/Info.plist @@ -34,7 +34,7 @@ CFBundleVersion - 204 + 206 ITSAppUsesNonExemptEncryption LSRequiresIPhoneOS diff --git a/ios/MattermostShare/Info.plist b/ios/MattermostShare/Info.plist index 543c3520d..4f20e233a 100644 --- a/ios/MattermostShare/Info.plist +++ b/ios/MattermostShare/Info.plist @@ -19,7 +19,7 @@ CFBundleShortVersionString 1.21.0 CFBundleVersion - 204 + 206 NSAppTransportSecurity NSAllowsArbitraryLoads diff --git a/ios/MattermostTests/Info.plist b/ios/MattermostTests/Info.plist index 4b72d0097..d83246253 100644 --- a/ios/MattermostTests/Info.plist +++ b/ios/MattermostTests/Info.plist @@ -19,6 +19,6 @@ CFBundleSignature ???? CFBundleVersion - 204 + 206 diff --git a/ios/NotificationService/Info.plist b/ios/NotificationService/Info.plist index 5adc55fee..a99905930 100644 --- a/ios/NotificationService/Info.plist +++ b/ios/NotificationService/Info.plist @@ -19,7 +19,7 @@ CFBundleShortVersionString 1.21.0 CFBundleVersion - 204 + 206 NSExtension NSExtensionPointIdentifier diff --git a/package-lock.json b/package-lock.json index f10c075dc..09dcf706a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13160,8 +13160,8 @@ "integrity": "sha512-rUxjysqif/BZQH2yhd5Aaq7vXMSx9NdEsQcyA07uEzIvxgI7zIr33gGsh+RU0/XjmQpCW7RsVof1vlkvQVCK5A==" }, "mattermost-redux": { - "version": "github:mattermost/mattermost-redux#66dcea7c71de9f87e3fe12652458e16f9517f6b7", - "from": "github:mattermost/mattermost-redux#66dcea7c71de9f87e3fe12652458e16f9517f6b7", + "version": "github:mattermost/mattermost-redux#09d6cfe6e9efe537919c1eac74d7df0adc54a163", + "from": "github:mattermost/mattermost-redux#09d6cfe6e9efe537919c1eac74d7df0adc54a163", "requires": { "deep-equal": "1.0.1", "eslint-plugin-header": "3.0.0", diff --git a/package.json b/package.json index b1091d1de..05fb6e872 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "intl": "1.2.5", "jail-monkey": "2.2.0", "jsc-android": "241213.2.0", - "mattermost-redux": "github:mattermost/mattermost-redux#66dcea7c71de9f87e3fe12652458e16f9517f6b7", + "mattermost-redux": "github:mattermost/mattermost-redux#09d6cfe6e9efe537919c1eac74d7df0adc54a163", "mime-db": "1.40.0", "moment-timezone": "0.5.25", "prop-types": "15.7.2",