Merge pull request #4635 from pangeachat/filter-non-public-courses

fix: filter rooms without the join rule public from public courses page
This commit is contained in:
ggurdin 2025-11-10 16:12:06 -05:00 committed by GitHub
commit 6346f97891
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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"