commit
cf48b93190
2 changed files with 3 additions and 7 deletions
|
|
@ -99,7 +99,7 @@ extension AnalyticsRoomExtension on Room {
|
|||
await analyticsRoom.requestParticipants();
|
||||
}
|
||||
|
||||
final List<User> participants = await analyticsRoom.requestParticipants();
|
||||
final List<User> participants = analyticsRoom.getParticipants();
|
||||
final List<User> uninvitedTeachers = teachersLocal
|
||||
.where((teacher) => !participants.contains(teacher))
|
||||
.toList();
|
||||
|
|
@ -110,12 +110,8 @@ extension AnalyticsRoomExtension on Room {
|
|||
(teacher) => analyticsRoom.invite(teacher.id).catchError((err, s) {
|
||||
ErrorHandler.logError(
|
||||
e: err,
|
||||
m: "Failed to invite teacher to analytics room",
|
||||
m: "Failed to invite teacher ${teacher.id} to analytics room ${analyticsRoom.id}",
|
||||
s: s,
|
||||
data: {
|
||||
"teacherId": teacher.id,
|
||||
"analyticsRoomId": analyticsRoom.id,
|
||||
},
|
||||
);
|
||||
}),
|
||||
),
|
||||
|
|
|
|||
|
|
@ -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: 1.21.9+3549
|
||||
version: 1.22.0+3550
|
||||
|
||||
environment:
|
||||
sdk: ">=3.0.0 <4.0.0"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue