CMU-313 / NodeBB

GNU General Public License v3.0
0 stars 224 forks source link

Refactoring code in `src/messaging/rooms.js` #295

Open shinyumh opened 2 months ago

shinyumh commented 2 months ago

Description

I am working on refactoring a function in src/messaging/rooms.js to reduce its Cognitive Complexity from 16 to the 15 allowed as Cognitive Complexity of functions should not be too high.

shinyumh commented 2 months ago

I would like to work on this please!