summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2022-08-19 11:41:06 +0200
committerGitHub <noreply@github.com>2022-08-19 11:41:06 +0200
commit62c85c3c7ef888c43f34f568ac139a0885a0aa9f (patch)
tree7b0faa2b9466592312ced5a9b1a233dddd498840 /lib
parent4aa1e31d674c01e6901b715261773803f62349f4 (diff)
parentedfe870d608444f5e0b363c9ccc876f6c44d124c (diff)
Merge pull request #7776 from nextcloud/bugfix/7764/enable-image-editor
Populate etag and permissions to active the image editor
Diffstat (limited to 'lib')
-rw-r--r--lib/Chat/Parser/SystemMessage.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Chat/Parser/SystemMessage.php b/lib/Chat/Parser/SystemMessage.php
index 3ab91f800..2f4d128d0 100644
--- a/lib/Chat/Parser/SystemMessage.php
+++ b/lib/Chat/Parser/SystemMessage.php
@@ -628,6 +628,8 @@ class SystemMessage {
'size' => $size,
'path' => $path,
'link' => $url,
+ 'etag' => $node->getEtag(),
+ 'permissions' => $node->getPermissions(),
'mimetype' => $node->getMimeType(),
'preview-available' => $this->previewManager->isAvailable($node) ? 'yes' : 'no',
];