1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-12-23 05:16:58 +00:00

literally 4f6039b, part 2

This commit is contained in:
Austin Huang 2021-03-17 14:28:27 -04:00
parent 9b0fea6906
commit 74d3e1ad7d
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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) {