From 1b77dd76709377d4b3832d06803e4d294e938a59 Mon Sep 17 00:00:00 2001 From: greta Date: Wed, 8 Nov 2023 16:06:59 +0100 Subject: [PATCH] fixup! Use some instead of every for the permission check Signed-off-by: greta --- src/files-action.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/files-action.js b/src/files-action.js index b94a98eeb..2db84c8e4 100644 --- a/src/files-action.js +++ b/src/files-action.js @@ -40,7 +40,7 @@ if (nextcloudVersionIsGreaterThanOr28) { return false } const node = nodes[0] - return node.mime === mime && (node.permissions & Permission.UPDATE) !== 0 + return node.mime === mime && (node.permissions & Permission.READ) }, iconSvgInline: () => ContactSvg, async exec(file) {