mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +01:00 
			
		
		
		
	Revert "feat: log all post edits to the event log, return eid when logging events, plumb eid into Update(Note) to federate out as a unique id"
This reverts commit 83392f3ca2.
			
			
This commit is contained in:
		| @@ -144,7 +144,7 @@ activitypubApi.update.profile = enabledCheck(async (caller, { uid }) => { | ||||
| 	}); | ||||
| }); | ||||
|  | ||||
| activitypubApi.update.note = enabledCheck(async (caller, { post, eid }) => { | ||||
| activitypubApi.update.note = enabledCheck(async (caller, { post }) => { | ||||
| 	const object = await activitypub.mocks.note(post); | ||||
| 	const { targets } = await buildRecipients(object, post.user.uid); | ||||
|  | ||||
| @@ -155,7 +155,6 @@ activitypubApi.update.note = enabledCheck(async (caller, { post, eid }) => { | ||||
| 	} | ||||
|  | ||||
| 	const payload = { | ||||
| 		id: `${nconf.get('url')}/api/v3/events/${eid}`, | ||||
| 		type: 'Update', | ||||
| 		to: object.to, | ||||
| 		cc: object.cc, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user