remove: `this.sdk` from `e2eFetchMyKeys`

This commit is contained in:
Gerzon Z 2022-03-08 18:28:22 -04:00
parent 7a9cdde474
commit 373da53dc3
1 changed files with 0 additions and 2 deletions

View File

@ -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) {