[FIX] Public channel cannot be acessed via URL when 'Allow Anonymous Read' is active (#16914)

pull/16923/head^2
Ashwani Yadav 6 years ago committed by GitHub
parent 849ad69bdc
commit a32600a5be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      app/ui-utils/client/lib/openRoom.js

@ -48,6 +48,9 @@ export const openRoom = function(type, name) {
}
if (RoomManager.open(type + name).ready() !== true) {
if (settings.get('Accounts_AllowAnonymousRead')) {
BlazeLayout.render('main');
}
replaceCenterDomBy(getDomOfLoading());
return;
}

Loading…
Cancel
Save