Mark items read on filtered network page, but still keep the "mark everything read" mechanism on viewing the unfiltered network page.
This commit is contained in:
		
					parent
					
						
							
								9f09955925
							
						
					
				
			
			
				commit
				
					
						c4e4ee892e
					
				
			
		
					 1 changed files with 4 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -782,9 +782,10 @@ function network_content(&$a, $update = 0) {
 | 
			
		|||
			intval(local_user())
 | 
			
		||||
		);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
//	if($update_unseen)
 | 
			
		||||
//		$r = q("UPDATE `item` SET `unseen` = 0 $update_unseen");
 | 
			
		||||
	else {
 | 
			
		||||
		if($update_unseen)
 | 
			
		||||
			$r = q("UPDATE `item` SET `unseen` = 0 $update_unseen");
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	// Set this so that the conversation function can find out contact info for our wall-wall items
 | 
			
		||||
	$a->page_contact = $a->contact;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue