closes https://github.com/NodeBB/NodeBB/issues/1786