Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ONLYOFFICE/onlyoffice-nextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntipkin-A <Artem.Antipkin@onlyoffice.com>2022-10-05 11:43:43 +0300
committerAntipkin-A <Artem.Antipkin@onlyoffice.com>2022-10-05 11:43:43 +0300
commitec3942207e5b9b073e483052936fbbe466c3b505 (patch)
tree38a3e714b153afd404204e3d4135fe42fc949107
parent1bb8444594c7d5ff6af19d7238915fe7bcb210dd (diff)
to take the user from callback when status is editing
-rw-r--r--controller/callbackcontroller.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/controller/callbackcontroller.php b/controller/callbackcontroller.php
index a83edfa..0d799f2 100644
--- a/controller/callbackcontroller.php
+++ b/controller/callbackcontroller.php
@@ -460,7 +460,8 @@ class CallbackController extends Controller {
$callbackUserId = $hashData->userId;
$userId = null;
- if (!empty($users)) {
+ if (!empty($users)
+ && $status !== self::TrackerStatus_Editing) {
// author of the latest changes
$userId = $this->parseUserId($users[0]);
} else {