e4d628a931
In some cases activeChannel can be null so this will error, also it is limiting to have this code in chatApi. Instead move to the threads manager, and also lean on channelsManager.find to get the channel from the cache instead, which will not error. |
||
---|---|---|
.. | ||
discourse | ||
lib/discourse-markdown |