You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-12-02 17:02:31 +03:00
lint and aldo indent in a more traditional way
This commit is contained in:
@@ -214,8 +214,9 @@ export class VerificationBase extends EventEmitter {
|
|||||||
{ getCrossSigningKey: async (type) => {
|
{ getCrossSigningKey: async (type) => {
|
||||||
console.debug("VerificationBase.done: requesting secret",
|
console.debug("VerificationBase.done: requesting secret",
|
||||||
type, this.deviceId);
|
type, this.deviceId);
|
||||||
const { promise } =
|
const { promise } = client.requestSecret(
|
||||||
client.requestSecret(`m.cross_signing.${type}`, [this.deviceId]);
|
`m.cross_signing.${type}`, [this.deviceId],
|
||||||
|
);
|
||||||
const result = await promise;
|
const result = await promise;
|
||||||
const decoded = decodeBase64(result);
|
const decoded = decodeBase64(result);
|
||||||
return Uint8Array.from(decoded);
|
return Uint8Array.from(decoded);
|
||||||
|
|||||||
Reference in New Issue
Block a user