@evanp/activitypub-bot 0.16.5 → 0.16.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/botcontext.js +8 -1
- package/package.json +1 -1
package/lib/botcontext.js
CHANGED
|
@@ -475,7 +475,14 @@ export class BotContext {
|
|
|
475
475
|
const recipients = this.#getRecipients(originalActivity)
|
|
476
476
|
return await this.#doActivity({
|
|
477
477
|
type: 'Undo',
|
|
478
|
-
object:
|
|
478
|
+
object: {
|
|
479
|
+
id: originalId,
|
|
480
|
+
type,
|
|
481
|
+
object: {
|
|
482
|
+
id: obj.id,
|
|
483
|
+
type: obj.type
|
|
484
|
+
}
|
|
485
|
+
},
|
|
479
486
|
...recipients
|
|
480
487
|
}, distribute)
|
|
481
488
|
}
|