-
Notifications
You must be signed in to change notification settings - Fork 19
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
Prevent abuse case, fix desynch bug, prevent unintentional adding of non-scene participants via web portal #14
Conversation
…portal unless you specifically tell it to. This solves the following webportal texting issue: Assuming the last person you texted was A: 1) Send a text in scene 1 (members: you, A) without specifying the recipient. - Result: Your message is sent to A (the other participant in your scene). 2) Switch to scene 2 in the play menu (members: you, B) and send a text without specifying the recipient - Result: Your message is sent to A (not a member of the scene) and A is added to the scene. With this change, the second case will instead return an error message to the web portal and require that you explicitly add them to the scene with `name[ name...]=message`.
Appreciate the contribution. It's up to the original authors (Tat/skew) to decide whether to accept the change, though. I would suggest contacting them on the Ares discord or forums. |
Fixed a bug that could cause desynchronization between client and webportal last-texted states.
…t here- if the check succeeds, it returns immediately, so there is no case where the check succeeds and subsequent code is executed.
Now includes a helpful hint: > Headwiz isn't in this scene yet. Please use `Headwiz tester=message` if you want them added.
…pport it, use the shortcut command instead).
Similar functionality has been implemented by Tat, so this PR is no longer needed. |
I've made a number of changes to how texting works, including the default assumption on the webportal. I added in a check for unapproved characters on text/send and text/newscene - thanks for the catch. |
Prevented unapproved characters from sending text messages.
Previously there were no checks to see if characters were approved before texting, which enabled the txt plugin to be abused to spam characters ICly. This is no longer possible.
Fixed a bug that caused de-synchronization between client and web portal last-texted states in certain scenarios.
This solves the following web portal texting issue:
txt Alice/122=message
txt/newscene Brandon=message
(scene 123 is created)hello
Prevented unintentional addition of non-scene participants to scene via web portal text messages.
This solves the following web portal texting issue:
Assuming the last person you texted was A:
With this change, the second case will instead return an error message to the web portal and require that you explicitly make them a member of the scene first. It recommends that you add them to the scene with
name[ name...]=message
to send the message seamlessly, but any method of including them will work.