remove: `this.sdk` from `e2eFetchMyKeys`
This commit is contained in:
parent
7a9cdde474
commit
373da53dc3
|
@ -11,7 +11,6 @@ import { getBundleId, isIOS } from '../../utils/deviceInfo';
|
||||||
import log from '../../utils/log';
|
import log from '../../utils/log';
|
||||||
import SSLPinning from '../../utils/sslPinning';
|
import SSLPinning from '../../utils/sslPinning';
|
||||||
import database from '../database';
|
import database from '../database';
|
||||||
import { sanitizeLikeString } from '../database/utils';
|
|
||||||
import { Encryption } from '../encryption';
|
import { Encryption } from '../encryption';
|
||||||
import triggerBlockAction, { triggerCancel, triggerSubmitView } from '../methods/actions';
|
import triggerBlockAction, { triggerCancel, triggerSubmitView } from '../methods/actions';
|
||||||
import callJitsi, { callJitsiWithoutServer } from '../methods/callJitsi';
|
import callJitsi, { callJitsiWithoutServer } from '../methods/callJitsi';
|
||||||
|
@ -186,7 +185,6 @@ const RocketChat = {
|
||||||
|
|
||||||
async e2eFetchMyKeys() {
|
async e2eFetchMyKeys() {
|
||||||
// RC 0.70.0
|
// RC 0.70.0
|
||||||
const sdk = this.shareSDK || this.sdk;
|
|
||||||
const result = await sdk.get('e2e.fetchMyKeys');
|
const result = await sdk.get('e2e.fetchMyKeys');
|
||||||
// snake_case -> camelCase
|
// snake_case -> camelCase
|
||||||
if (result.success) {
|
if (result.success) {
|
||||||
|
|
Loading…
Reference in New Issue