diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-08-18 09:37:15 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-08-19 17:44:57 +0200 |
commit | e985dcc5a079c5b51956e7f42c5c36e310b03679 (patch) | |
tree | ed8f956e7a0582e080fe73f7c407e8ad156cf60f /apps | |
parent | bc2aa148494671fddb53b939c5ac64366677c34a (diff) | |
download | nextcloud-server-e985dcc5a079c5b51956e7f42c5c36e310b03679.tar.gz nextcloud-server-e985dcc5a079c5b51956e7f42c5c36e310b03679.zip |
Send the file id when dealing with remote share responses
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/api/server2server.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/api/server2server.php b/apps/files_sharing/api/server2server.php index 211dc52c333..0a35401904b 100644 --- a/apps/files_sharing/api/server2server.php +++ b/apps/files_sharing/api/server2server.php @@ -113,7 +113,7 @@ class Server2Server { \OC::$server->getActivityManager()->publishActivity( Activity::FILES_SHARING_APP, Activity::SUBJECT_REMOTE_SHARE_ACCEPTED, array($share['share_with'], basename($file)), '', array(), - $file, $link, $share['uid_owner'], Activity::TYPE_REMOTE_SHARE, Activity::PRIORITY_LOW); + $file, $link, $share['uid_owner'], Activity::TYPE_REMOTE_SHARE, Activity::PRIORITY_LOW, 'files', $share['file_source']); } return new \OC_OCS_Result(); @@ -144,7 +144,7 @@ class Server2Server { \OC::$server->getActivityManager()->publishActivity( Activity::FILES_SHARING_APP, Activity::SUBJECT_REMOTE_SHARE_DECLINED, array($share['share_with'], basename($file)), '', array(), - $file, $link, $share['uid_owner'], Activity::TYPE_REMOTE_SHARE, Activity::PRIORITY_LOW); + $file, $link, $share['uid_owner'], Activity::TYPE_REMOTE_SHARE, Activity::PRIORITY_LOW, 'files', $share['file_source']); } return new \OC_OCS_Result(); |