handle pinned topics
small fix
Merge branch 'master' of https://github.com/NodeBB/NodeBB