A cheap attempt at a native Bluesky client for Android
8
fork

Configure Feed

Select the types of activity you want to include in your feed.

TimelineViewModel: Deduplicate post URIs in notification fetching

Multiple notifications (likes, reposts, quotes) can reference the same
post, causing duplicate URIs in the getPosts batch request. This created
URLs too large for the 15s timeout. Add .distinct() to postsToFetch.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

geesawra 53bf81a0 e928cb56

+1 -1
+1 -1
app/src/main/java/industries/geesawra/monarch/datalayer/TimelineViewModel.kt
··· 298 298 299 299 else -> null 300 300 } 301 - } 301 + }.distinct() 302 302 303 303 val posts = 304 304 postsToFetch.chunked(25).fold(mapOf<AtUri, Pair<SkeetData, Post>>()) { acc, chunk ->