Fixes the participants on a community index
This commit is contained in:
@@ -52,6 +52,12 @@ class ParticipantListBuilder {
|
|||||||
addFollowsThatDirectlyParticipateOnToSet(it, followingSet, mySet)
|
addFollowsThatDirectlyParticipateOnToSet(it, followingSet, mySet)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
baseNote.boosts.forEach {
|
||||||
|
it.replyTo?.forEach {
|
||||||
|
addFollowsThatDirectlyParticipateOnToSet(it, followingSet, mySet)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
LocalCache.getChannelIfExists(baseNote.idHex)?.notes?.values?.forEach {
|
LocalCache.getChannelIfExists(baseNote.idHex)?.notes?.values?.forEach {
|
||||||
addFollowsThatDirectlyParticipateOnToSet(it, followingSet, mySet)
|
addFollowsThatDirectlyParticipateOnToSet(it, followingSet, mySet)
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -22,7 +22,7 @@ class CommunityPostApprovalEvent(
|
|||||||
fromJson(it, Client.lenient)
|
fromJson(it, Client.lenient)
|
||||||
}
|
}
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
Log.e("LnZapEvent", "Failed to Parse Contained Post $content", e)
|
Log.e("CommunityPostEvent", "Failed to Parse Contained Post $content", e)
|
||||||
null
|
null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -490,7 +490,7 @@ fun RenderLiveActivityThumb(baseNote: Note, accountViewModel: AccountViewModel,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@OptIn(ExperimentalLayoutApi::class)
|
|
||||||
@Composable
|
@Composable
|
||||||
fun RenderCommunitiesThumb(baseNote: Note, accountViewModel: AccountViewModel, nav: (String) -> Unit) {
|
fun RenderCommunitiesThumb(baseNote: Note, accountViewModel: AccountViewModel, nav: (String) -> Unit) {
|
||||||
val noteEvent = baseNote.event as? CommunityDefinitionEvent ?: return
|
val noteEvent = baseNote.event as? CommunityDefinitionEvent ?: return
|
||||||
|
|||||||
Reference in New Issue
Block a user