[FIX] Room creation error due absence of subscriptions (#11178)
Fixes the following error:
```
Uncaught TypeError: Cannot read property 'name' of undefined
at roomList.js:127
at callbacks.js:97
at Array.reduce (<anonymous>)
at Object.RocketChat.callbacks.run (callbacks.js:88)
at Streamer.<anonymous> (cachedCollection.js:340)
at ev.js:11
at Array.forEach (<anonymous>)
at Streamer.emit (ev.js:11)
at StreamerCentral.<anonymous> (client.js:66)
at ev.js:11
```
pull/11184/head^2
parent
9b0e1980ea
commit
add48cae05
Loading…
Reference in new issue