diff --git a/client/webapp/fetchable-pair-verifier.ts b/client/webapp/fetchable-pair-verifier.ts index 8c2e5e1..b19023e 100644 --- a/client/webapp/fetchable-pair-verifier.ts +++ b/client/webapp/fetchable-pair-verifier.ts @@ -87,10 +87,6 @@ export default class PairVerifierFetchable extends EventEmitter im ); } - canFetch() { - return true; - } - async handleMetadataConflict(changesType: AutoVerifierChangesType, primaryMetadata: GuildMetadata | null, trustedMetadata: GuildMetadata | null): Promise { // LOG.debug('metadata conflict', { // primaryClass: this.primary.constructor.name, diff --git a/client/webapp/socket-verifier.ts b/client/webapp/socket-verifier.ts index a3d5e0b..0a1a5d7 100644 --- a/client/webapp/socket-verifier.ts +++ b/client/webapp/socket-verifier.ts @@ -74,7 +74,7 @@ export default class SocketVerifier extends EventEmitter<{ 'verified': () => voi } // TODO: ensureVerified for send/update requests that may need to be in-order? - public async ensureVerified() { + public async ensureVerified(): Promise { if (this.isVerified) return; await this.verify(); }