mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-10-25 18:54:52 +00:00 
			
		
		
		
	Fix bug
This commit is contained in:
		
							parent
							
								
									12f932d48a
								
							
						
					
					
						commit
						359470a263
					
				
					 1 changed files with 9 additions and 9 deletions
				
			
		|  | @ -62,15 +62,6 @@ export default async (job: bq.Job, done: any): Promise<void> => { | ||||||
| 		}) as IRemoteUser; | 		}) as IRemoteUser; | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	//#region Log
 |  | ||||||
| 	publishApLogStream({ |  | ||||||
| 		direction: 'in', |  | ||||||
| 		activity: activity.type, |  | ||||||
| 		host: user.host, |  | ||||||
| 		actor: user.username |  | ||||||
| 	}); |  | ||||||
| 	//#endregion
 |  | ||||||
| 
 |  | ||||||
| 	// Update activityの場合は、ここで署名検証/更新処理まで実施して終了
 | 	// Update activityの場合は、ここで署名検証/更新処理まで実施して終了
 | ||||||
| 	if (activity.type === 'Update') { | 	if (activity.type === 'Update') { | ||||||
| 		if (activity.object && activity.object.type === 'Person') { | 		if (activity.object && activity.object.type === 'Person') { | ||||||
|  | @ -102,6 +93,15 @@ export default async (job: bq.Job, done: any): Promise<void> => { | ||||||
| 		return; | 		return; | ||||||
| 	} | 	} | ||||||
| 	 | 	 | ||||||
|  | 	//#region Log
 | ||||||
|  | 	publishApLogStream({ | ||||||
|  | 		direction: 'in', | ||||||
|  | 		activity: activity.type, | ||||||
|  | 		host: user.host, | ||||||
|  | 		actor: user.username | ||||||
|  | 	}); | ||||||
|  | 	//#endregion
 | ||||||
|  | 
 | ||||||
| 	// アクティビティを処理
 | 	// アクティビティを処理
 | ||||||
| 	try { | 	try { | ||||||
| 		await perform(user, activity); | 		await perform(user, activity); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue