-
Notifications
You must be signed in to change notification settings - Fork 73
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
Conversation
jaller94
commented
Aug 3, 2020
•
edited
Loading
edited
⚠️ Declares some properties and methods private that could have been considered public. As such this is potentially API-breaking.- Fixes RoomLinkValidator terminates validation on the first ignored user #183.
*/ | ||
constructor (config, asBot) { | ||
this.conflictCache = new Map(); // roomId => number | ||
this.waitingRooms = new Map(); // roomId => Promise |
There was a problem hiding this comment.
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.
There was a problem hiding this 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