This commit is contained in:
Michael Peters 2021-12-04 07:57:12 -06:00
parent 4b328c7fe5
commit c6e4be53b5
2 changed files with 1 additions and 5 deletions

View File

@ -87,10 +87,6 @@ export default class PairVerifierFetchable extends EventEmitter<Conflictable> im
); );
} }
canFetch() {
return true;
}
async handleMetadataConflict(changesType: AutoVerifierChangesType, primaryMetadata: GuildMetadata | null, trustedMetadata: GuildMetadata | null): Promise<void> { async handleMetadataConflict(changesType: AutoVerifierChangesType, primaryMetadata: GuildMetadata | null, trustedMetadata: GuildMetadata | null): Promise<void> {
// LOG.debug('metadata conflict', { // LOG.debug('metadata conflict', {
// primaryClass: this.primary.constructor.name, // primaryClass: this.primary.constructor.name,

View File

@ -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? // TODO: ensureVerified for send/update requests that may need to be in-order?
public async ensureVerified() { public async ensureVerified(): Promise<void> {
if (this.isVerified) return; if (this.isVerified) return;
await this.verify(); await this.verify();
} }