mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-03 23:14:13 +00:00 
			
		
		
		
	log type of unsupported featured object
This commit is contained in:
		
							parent
							
								
									ae7b90de6c
								
							
						
					
					
						commit
						2b9c3f0d5c
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -273,7 +273,7 @@ export class ApInboxService {
 | 
			
		|||
		if (activity.target === actor.featured) {
 | 
			
		||||
			const activityObject = fromTuple(activity.object);
 | 
			
		||||
			if (isApObject(activityObject) && !isPost(activityObject)) {
 | 
			
		||||
				return 'unsupported featured object type';
 | 
			
		||||
				return `unsupported featured object type: ${getApType(activityObject)}`;
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
			const note = await this.apNoteService.resolveNote(activityObject, { resolver });
 | 
			
		||||
| 
						 | 
				
			
			@ -647,7 +647,7 @@ export class ApInboxService {
 | 
			
		|||
		if (activity.target === actor.featured) {
 | 
			
		||||
			const activityObject = fromTuple(activity.object);
 | 
			
		||||
			if (isApObject(activityObject) && !isPost(activityObject)) {
 | 
			
		||||
				return 'unsupported featured object type';
 | 
			
		||||
				return `unsupported featured object type: ${getApType(activityObject)}`;
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
			const note = await this.apNoteService.resolveNote(activityObject, { resolver });
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue