From 11644ad9863f5b27e00348c304b645f61a1ffc44 Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Sun, 29 Nov 2015 21:28:24 +0300 Subject: [PATCH] Fixed check access in groups Closes #984 --- app/js/services.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/js/services.js b/app/js/services.js index 6d6d544f..439a0949 100755 --- a/app/js/services.js +++ b/app/js/services.js @@ -639,7 +639,7 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils']) } } else { if (chat.pFlags.admins_enabled && - !chat.pFlags.editor) { + !chat.pFlags.admin) { return false; } }