From 373da53dc3d6b2495e49cd5292a80fdbd2d7d98d Mon Sep 17 00:00:00 2001 From: Gerzon Z Date: Tue, 8 Mar 2022 18:28:22 -0400 Subject: [PATCH] remove: `this.sdk` from `e2eFetchMyKeys` --- app/lib/rocketchat/rocketchat.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/lib/rocketchat/rocketchat.js b/app/lib/rocketchat/rocketchat.js index cbcacdf00..70e155a70 100644 --- a/app/lib/rocketchat/rocketchat.js +++ b/app/lib/rocketchat/rocketchat.js @@ -11,7 +11,6 @@ import { getBundleId, isIOS } from '../../utils/deviceInfo'; import log from '../../utils/log'; import SSLPinning from '../../utils/sslPinning'; import database from '../database'; -import { sanitizeLikeString } from '../database/utils'; import { Encryption } from '../encryption'; import triggerBlockAction, { triggerCancel, triggerSubmitView } from '../methods/actions'; import callJitsi, { callJitsiWithoutServer } from '../methods/callJitsi'; @@ -186,7 +185,6 @@ const RocketChat = { async e2eFetchMyKeys() { // RC 0.70.0 - const sdk = this.shareSDK || this.sdk; const result = await sdk.get('e2e.fetchMyKeys'); // snake_case -> camelCase if (result.success) {