From 8939927543fd3946c165d6a88f4cd2488aade674 Mon Sep 17 00:00:00 2001 From: Ajay Bura Date: Mon, 13 Sep 2021 17:32:32 +0530 Subject: [PATCH] Updated matrix-js-sdk to v12.4.1 (Security fix) --- package-lock.json | 8 ++++---- package.json | 2 +- src/app/organisms/navigation/DrawerHeader.jsx | 2 +- src/app/organisms/settings/Settings.jsx | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 68bca03..9db3222 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "cinny", - "version": "1.1.0", + "version": "1.2.1", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -7951,9 +7951,9 @@ } }, "matrix-js-sdk": { - "version": "12.2.0", - "resolved": "https://registry.npmjs.org/matrix-js-sdk/-/matrix-js-sdk-12.2.0.tgz", - "integrity": "sha512-foSs3uKRc6uvFNhgY35eErBvLWVDd5RNIxxsdFKlmU3B+70YUf3BP3petyBNW34ORyOqNdX36IiApfLo3npNEw==", + "version": "12.4.1", + "resolved": "https://registry.npmjs.org/matrix-js-sdk/-/matrix-js-sdk-12.4.1.tgz", + "integrity": "sha512-C9aSGX9e4GoCm0Rli+iGBXmcnRxnwETw7MvgNcSBfPaLHOMZi/wz4YOV7HEZK8R+OXuDrDYyglncWSJkkoDpAQ==", "requires": { "@babel/runtime": "^7.12.5", "another-json": "^0.2.0", diff --git a/package.json b/package.json index 62846f3..6aaa680 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "flux": "^4.0.1", "html-react-parser": "^1.2.7", "linkifyjs": "^3.0.0-beta.3", - "matrix-js-sdk": "^12.2.0", + "matrix-js-sdk": "^12.4.1", "micromark": "^3.0.3", "micromark-extension-gfm": "^1.0.0", "prop-types": "^15.7.2", diff --git a/src/app/organisms/navigation/DrawerHeader.jsx b/src/app/organisms/navigation/DrawerHeader.jsx index c86b09b..2a45301 100644 --- a/src/app/organisms/navigation/DrawerHeader.jsx +++ b/src/app/organisms/navigation/DrawerHeader.jsx @@ -20,7 +20,7 @@ function DrawerHeader({ activeTab }) { {(activeTab === 'home' ? 'Home' : 'Direct messages')} - {(activeTab === 'dm') + {(activeTab === 'dms') ? openInviteUser()} tooltip="Start DM" src={PlusIC} size="normal" /> : ( Cinny - v1.2.0 + v1.2.1 Yet another matrix client