https://git.deluge-torrent.org/deluge/t ... nel.js#n78
I'd assume that the if (!state) is going to be the default, but my js experience is next to zero when it comes to web development.
I'm not sure how easy it would be to do this in a plugin, or how easy it would be to modify this (if requires a new binary or freezing affecting it) - but it should be a start.
I don't have a real concrete solution as I can't test, but changing
Code: Select all
if (!state) return;
Code: Select all
if (!state) return "Active";