fix: filter rooms without the join rule public from public courses page
This commit is contained in:
parent
78af248cad
commit
5dfcb5f1b5
2 changed files with 3 additions and 2 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue