mirror of
				https://github.com/KokaKiwi/BarInsta
				synced 2025-10-30 19:15:35 +00:00 
			
		
		
		
	literally 4f6039b, part 2
This commit is contained in:
		
							parent
							
								
									9b0fea6906
								
							
						
					
					
						commit
						74d3e1ad7d
					
				| @ -32,7 +32,7 @@ public interface DirectMessagesRepository { | ||||
|     Call<DirectThreadFeedResponse> fetchThread(@Path("threadId") String threadId, | ||||
|                                                @QueryMap Map<String, Object> queryMap); | ||||
| 
 | ||||
|     @GET("/api/v1/direct_v2/get_badge_count/") | ||||
|     @GET("/api/v1/direct_v2/get_badge_count/?no_raven=1") | ||||
|     Call<DirectBadgeCount> fetchUnseenCount(); | ||||
| 
 | ||||
|     @FormUrlEncoded | ||||
|  | ||||
| @ -44,9 +44,9 @@ public final class DMUtils { | ||||
| 
 | ||||
|     public static boolean isRead(@NonNull final DirectThread thread) { | ||||
|         final boolean read; | ||||
|         if (thread.getDirectStory() != null) { | ||||
|             return false; | ||||
|         } | ||||
| //        if (thread.getDirectStory() != null) { | ||||
| //            return false; | ||||
| //        } | ||||
|         final DirectItem item = thread.getFirstDirectItem(); | ||||
|         final long viewerId = thread.getViewerId(); | ||||
|         if (item != null && item.getUserId() == viewerId) { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user