fix: filter rooms without the join rule public from public courses page

This commit is contained in:
ggurdin 2025-11-10 16:11:24 -05:00
parent 78af248cad
commit 5dfcb5f1b5
No known key found for this signature in database
GPG key ID: A01CB41737CBB478
2 changed files with 3 additions and 2 deletions

View file

@ -68,7 +68,8 @@ class PublicCoursesPageState extends State<PublicCoursesPage> {
r.id == c.room.roomId &&
r.membership == Membership.join,
) &&
coursePlans.containsKey(c.courseId),
coursePlans.containsKey(c.courseId) &&
c.room.joinRule == 'public',
)
.toList();

View file

@ -6,7 +6,7 @@ description: Learn a language while texting your friends.
# Pangea#
publish_to: none
# On version bump also increase the build number for F-Droid
version: 4.1.15+4
version: 4.1.15+5
environment:
sdk: ">=3.0.0 <4.0.0"