mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-11-03 20:45:58 +01:00 
			
		
		
		
	feat: #12647, federate out Add activity on inbox.create and local post creation
				
					
				
			This commit is contained in:
		@@ -70,6 +70,7 @@ inbox.create = async (req) => {
 | 
			
		||||
	const asserted = await activitypub.notes.assert(0, object);
 | 
			
		||||
	if (asserted) {
 | 
			
		||||
		announce(object.id, req.body);
 | 
			
		||||
		api.activitypub.add(req, { pid: object.id });
 | 
			
		||||
	}
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user