fix: timeline autogestione

This commit is contained in:
user 2024-10-30 16:08:36 +01:00
parent 8e2873e643
commit 34c4548e1c
3 changed files with 4 additions and 4 deletions

View file

@ -336,7 +336,7 @@ class NetworkTimelineViewModel @Inject constructor(
Kind.BOOKMARKS -> api.bookmarks(fromId, uptoId, limit)
Kind.LIST -> api.listTimeline(id!!, fromId, uptoId, limit)
Kind.PUBLIC_TRENDING_STATUSES -> api.trendingStatuses(limit = limit, offset = fromId)
Kind.AUTOGESTIONE -> api.autogestione(remote = false, only_media = false,maxId = fromId, sinceId = uptoId, limit = limit)
Kind.AUTOGESTIONE -> api.neighborhood(remote = false, only_media = false,maxId = fromId, sinceId = uptoId, limit = limit)
}
}

View file

@ -721,8 +721,8 @@ interface MastodonApi {
@Field("lang") targetLanguage: String?
): NetworkResult<Translation>
@GET("/api/v1/timelines/autogestione?remote=false&only_media=false")
suspend fun autogestione(
@GET("/api/v1/timelines/neighborhood?remote=false&only_media=false")
suspend fun neighborhood(
@Query("remote") remote: Boolean? = false,
@Query("only_media") only_media: Boolean? = false,
@Query("local") local: Boolean? = null,

View file

@ -1,5 +1,5 @@
[versions]
agp = "8.1.2"
agp = "8.4.0"
androidx-activity = "1.7.2"
androidx-appcompat = "1.6.1"
androidx-browser = "1.8.0"