Don't accept ignored author via relay
This commit is contained in:
		
					parent
					
						
							
								9cd9ad647d
							
						
					
				
			
			
				commit
				
					
						9b1918c650
					
				
			
		
					 4 changed files with 19 additions and 4 deletions
				
			
		|  | @ -2277,7 +2277,7 @@ class DFRN | |||
| 
 | ||||
| 		$taglist = Tag::getByURIId($item['uri-id'], [Tag::HASHTAG]); | ||||
| 		$tags = array_column($taglist, 'name'); | ||||
| 		return Relay::isSolicitedPost($tags, $item['body'], $item['uri'], Protocol::DFRN); | ||||
| 		return Relay::isSolicitedPost($tags, $item['body'], $item['author-id'], $item['uri'], Protocol::DFRN); | ||||
| 	} | ||||
| 
 | ||||
| 	/** | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue