summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-12-03 16:48:32 +0100
committerJoas Schilling <coding@schilljs.com>2019-12-04 08:35:41 +0100
commit59978d8e8b5d380a997c79ad5e8191aef3d2e6b1 (patch)
tree5f03e1ca9877cfb35bd362f71164af0981a5868e /lib
parent35a044f5e664d65427e4766fabb311ff996814e5 (diff)
Fix sharing integration tests and loading shares
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Share/RoomShareProvider.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Share/RoomShareProvider.php b/lib/Share/RoomShareProvider.php
index 17228d07a..0281ccdf5 100644
--- a/lib/Share/RoomShareProvider.php
+++ b/lib/Share/RoomShareProvider.php
@@ -280,6 +280,7 @@ class RoomShareProvider implements IShareProvider {
->setShareType((int)$data['share_type'])
->setPermissions((int)$data['permissions'])
->setTarget($data['file_target'])
+ ->setStatus((int)$data['accepted'])
->setToken($data['token']);
$shareTime = $this->timeFactory->getDateTime();