-
Notifications
You must be signed in to change notification settings - Fork 103
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
Alert whenever a @mention is of someone not in the room #603
Comments
However this also has a security aspect to it, as it ensure there is checking happening on any username mentioned, which can prevent mistakes in process due to incorrect username being used, and allow mistakes to be fixed quickly. |
@jayvdb Please assign this to me 😃 |
@jayvdb Has this been already taken care of? I found this:
|
That is a specific case, operational only in one command. We want a generic solution which works all the time to replace those lines ;-) See errbot filters. |
@jayvdb So if I understand correctly if within any message if I hope this can be solved by checking if there is any mention and if there is, check for room_member and then pass the warning message accordingly. I hope we have to use Let me know if I'm wrong 😅 |
That sounds roughly correct. |
errbot already has a Reference: errbotio/errbot#550 I will here create a |
@jayvdb This is my solution:
I think this issue depends on following:
Should I create both issues on the backend. I'll assign them to myself. Please confirm them first 😅 |
@abhishalya There is no need to create a new
There is no need of |
Yes that is my current idea. But, rather than doing this we can simply use the
It only works for a single function and as @jayvdb said we need a more generic solution which would work for all. |
The fix introduces removal of is_room_member function and instead uses callback_message to warn whenever `@mention` is not in room. Closes coala#603
The fix introduces removal of is_room_member function and instead uses callback_message to warn whenever `@mention` is not in room. Closes coala#603
Similar to #317 , but for room membership.
The wording needs to be moderately toned, as it isnt 'bad' to mention a org member who isnt in the room - on gitter, they will get a notification to join the room, and they can read the room without joining, so it is OK to ping them, and they can ignore it.
Also c.f. #602
The text was updated successfully, but these errors were encountered: