Fixed check access in groups

Closes #984
This commit is contained in:
Igor Zhukov 2015-11-29 21:28:24 +03:00
parent 6344873f10
commit 11644ad986

View File

@ -639,7 +639,7 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
} }
} else { } else {
if (chat.pFlags.admins_enabled && if (chat.pFlags.admins_enabled &&
!chat.pFlags.editor) { !chat.pFlags.admin) {
return false; return false;
} }
} }