Handling of unlisted posts, better uid detection
This commit is contained in:
		
					parent
					
						
							
								1f98414bdd
							
						
					
				
			
			
				commit
				
					
						6f3b2b6586
					
				
			
		
					 4 changed files with 73 additions and 76 deletions
				
			
		| 
						 | 
				
			
			@ -31,8 +31,8 @@ function follow_post(App $a)
 | 
			
		|||
	// This is just a precaution if maybe this page is called somewhere directly via POST
 | 
			
		||||
	$_SESSION['fastlane'] = $url;
 | 
			
		||||
 | 
			
		||||
	$result = Contact::createFromProbe($uid, $url, true, Protocol::ACTIVITYPUB);
 | 
			
		||||
//	$result = Contact::createFromProbe($uid, $url, true);
 | 
			
		||||
//	$result = Contact::createFromProbe($uid, $url, true, Protocol::ACTIVITYPUB);
 | 
			
		||||
	$result = Contact::createFromProbe($uid, $url, true);
 | 
			
		||||
 | 
			
		||||
	if ($result['success'] == false) {
 | 
			
		||||
		if ($result['message']) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue