fix restricted member permission copy/paste issue

This commit is contained in:
John Gibbon 2020-11-16 10:58:33 +01:00
parent d5a2d315db
commit ac10e600bf

View file

@ -273,7 +273,7 @@ Page {
(chatGroupInformation.status["@type"] === "chatMemberStatusMember" && chatGroupInformation.status.permissions[privilege]) (chatGroupInformation.status["@type"] === "chatMemberStatusMember" && chatGroupInformation.status.permissions[privilege])
|| chatGroupInformation.status["@type"] === "chatMemberStatusAdministrator" || chatGroupInformation.status["@type"] === "chatMemberStatusAdministrator"
|| chatGroupInformation.status["@type"] === "chatMemberStatusCreator" || chatGroupInformation.status["@type"] === "chatMemberStatusCreator"
|| (chatGroupInformation.status["@type"] === "chatMemberStatusRestricted" && chatInformation.permissions[privilege]) || (chatGroupInformation.status["@type"] === "chatMemberStatusRestricted" && chatGroupInformation.status.permissions[privilege])
) )
} }