diff --git a/app/views/CreateDiscussionView/index.js b/app/views/CreateDiscussionView/index.js index 43329f102..8b33e9ca5 100644 --- a/app/views/CreateDiscussionView/index.js +++ b/app/views/CreateDiscussionView/index.js @@ -222,7 +222,7 @@ const mapStateToProps = state => ({ loading: state.createDiscussion.isFetching, result: state.createDiscussion.result, blockUnauthenticatedAccess: state.settings.Accounts_AvatarBlockUnauthenticatedAccess ?? true, - serverVersion: state.share.server.version || state.server.version, + serverVersion: state.server.version, isMasterDetail: state.app.isMasterDetail, encryptionEnabled: state.encryption.enabled }); diff --git a/app/views/RoomInfoEditView/index.js b/app/views/RoomInfoEditView/index.js index 58664c6f2..2669566eb 100644 --- a/app/views/RoomInfoEditView/index.js +++ b/app/views/RoomInfoEditView/index.js @@ -666,7 +666,7 @@ class RoomInfoEditView extends React.Component { } const mapStateToProps = state => ({ - serverVersion: state.share.server.version || state.server.version, + serverVersion: state.server.version, encryptionEnabled: state.encryption.enabled });