you are viewing a single comment's thread.

view the rest of the comments →

[–]magnora7[S] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 1 fun -  (2 children)

So the final missing piece is hooking into the post submit functionality, to set the user's preference to whatever checkbox state they just used.

That's the exact functionality we have in the preferences page, so I think your code should already accomplish that, as long as c.user.pref_sendreplies is defined correctly as a preference somewhere

[–][deleted] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 1 fun -  (1 child)

I don't know if we're on the same page anymore. I was imagining this with no preferences page interactions. Wanna chat in saiditdev?

[–]magnora7[S] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 1 fun -  (0 children)

sure. No preference page stuff, but storing the preferences in preferences.py because that's where all the pref_ stuff is defined