I thought I'd give a try for an online users list extension.
But I found out the online timeout (5 minutes) is hard-coded into the javascript code https://github.com/flarum/core/blob/f30fac6a94a6a0183a8261f30645191415120117/js/lib/models/User.js#L58
I will need this value server-side if I don't want to pull the whole user list client-side.
Is there a plan to store this value PHP-side so it is hard-coded in only one place, or even add it as a configuration value so admins can adjust it ?
I will have to hard-code it as well in the meantime ?