We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41d5dbc commit 3e74f42Copy full SHA for 3e74f42
src/backend/src/services/ThreadService.js
@@ -376,6 +376,7 @@ class ThreadService extends BaseService {
376
uid,
377
});
378
}
379
+ const parent_uid = thread.parent_uid;
380
381
const actor = Context.get('actor');
382
@@ -401,9 +402,14 @@ class ThreadService extends BaseService {
401
402
res.json({});
403
404
// Notify subscribers
- await this.notify_subscribers(parent_uid, 'delete', {
405
+ await this.notify_subscribers(uid, 'delete', {
406
407
408
+
409
+ // Notify parent subscribers
410
+ await this.notify_subscribers(parent_uid, 'child-delete', {
411
+ parent_uid,
412
+ });
413
414
}).attach(router);
415
0 commit comments