Skip to content

Conversation

@adhesivecheese
Copy link
Contributor

This is a Work-in-progress pull request for #716 - "New modmail: Option to always reply as self".

Having a seperate toggle for always replying as self would be problematic, because one could run into potentially unexpected behavior if selecting both "always reply as self" and "always reply as subreddit", so I've opted for a toggle which would allow you to default to any of the three reply options, or to leave that setting unchanged from what Reddit defaults it to.

This is a work in progress because I've run into a roadblock I haven't been able to sort out - at some point, Reddit changed the classes for the select, and the old code (lines 104-110) doesn't actually work anymore to be able to use as a guide. The code I've offered as a replacement visually toggles the option, but does not actually trigger the change in reply type which happens if an option on the dropdown is manually clicked.

My proficiency with Javascript is somewhere hovering around "knows just enough to be dangerous", so I'm hoping that what I've provided is useful, and getting this across the finish line will be simple for someone who knows more than me.

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.

1 participant