Issue 5811: "objects" instead of "object"
This commit is contained in:
		
					parent
					
						
							
								c02dea7b02
							
						
					
				
			
			
				commit
				
					
						518d461a8f
					
				
			
		
					 6 changed files with 6 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -663,7 +663,7 @@ class ActivityPub
 | 
			
		|||
		} elseif (DBA::isResult($conversation) && !empty($conversation['conversation-uri'])) {
 | 
			
		||||
			$context_uri = $conversation['conversation-uri'];
 | 
			
		||||
		} else {
 | 
			
		||||
			$context_uri = str_replace('/object/', '/context/', $item['parent-uri']);
 | 
			
		||||
			$context_uri = str_replace('/objects/', '/context/', $item['parent-uri']);
 | 
			
		||||
		}
 | 
			
		||||
		return $context_uri;
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue