Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert RoomLinkValidator to TypeScript and fix errors #184

Merged
merged 12 commits into from
Aug 6, 2020

Conversation

jaller94
Copy link
Contributor

@jaller94 jaller94 commented Aug 3, 2020

*/
constructor (config, asBot) {
this.conflictCache = new Map(); // roomId => number
this.waitingRooms = new Map(); // roomId => Promise
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this was meant to stop the same room from getting processed twice at the same time, but it wasn't implemented.

@jaller94 jaller94 changed the title Ceonvert RoomLinkValidator to TypeScript and fix errors Convert RoomLinkValidator to TypeScript and fix errors Aug 3, 2020
Copy link
Contributor

@Half-Shot Half-Shot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine, fix linting and you can merge

@jaller94
Copy link
Contributor Author

jaller94 commented Aug 4, 2020

I don't understand how to get a property from unknown when I have already proven that it is an object.
Screenshot_2020-08-04_13-46-58

@Half-Shot Half-Shot merged commit 1006bf0 into develop Aug 6, 2020
@jaller94 jaller94 deleted the j94/jsdoc-room-link-validator branch August 6, 2020 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RoomLinkValidator terminates validation on the first ignored user
2 participants