Kaynağa Gözat

[dsmp] send trackedChangesAdded notification in docModifiedHook (#28454)

* [dsmp] send trackedChangesAdded notification in docModifiedHook

* simplify recipient handling

* simplify check if changes are from a single user

GitOrigin-RevId: dd0b7a0631999ddac0ee1e6705ff4d6d87f3e63a
Domagoj Kriskovic 1 yıl önce
ebeveyn
işleme
1915507269

+ 1 - 1
services/web/app/src/Features/Documents/DocumentController.mjs

@@ -94,7 +94,7 @@ async function setDocument(req, res) {
     'finished receiving set document request from api (docupdater)'
     'finished receiving set document request from api (docupdater)'
   )
   )
 
 
-  await Modules.promises.hooks.fire('docModified', projectId, docId)
+  await Modules.promises.hooks.fire('docModified', projectId, docId, ranges)
 
 
   res.json(result)
   res.json(result)
 }
 }