Browse Source

Update greader.php

streamContents can know exclude target unread item
Purexo 10 years ago
parent
commit
9534ea0e6b
1 changed files with 3 additions and 0 deletions
  1. 3 0
      p/api/greader.php

+ 3 - 0
p/api/greader.php

@@ -361,6 +361,9 @@ function streamContents($path, $include_target, $start_time, $count, $order, $ex
 		case 'user/-/state/com.google/read':
 		case 'user/-/state/com.google/read':
 			$state = FreshRSS_Entry::STATE_NOT_READ;
 			$state = FreshRSS_Entry::STATE_NOT_READ;
 			break;
 			break;
+		case 'user/-/state/com.google/unread':
+			$state = FreshRSS_Entry::STATE_READ;
+			break;
 		default:
 		default:
 			$state = FreshRSS_Entry::STATE_ALL;
 			$state = FreshRSS_Entry::STATE_ALL;
 			break;
 			break;