Merge branch 'main' into access-token-fix

This commit is contained in:
ggurdin 2024-07-30 12:46:08 -04:00 committed by GitHub
commit 0f282532b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -100,6 +100,7 @@ extension AnalyticsClientExtension on Client {
/// Handles case when students cannot add analytics room to space(s)
/// so teacher is still able to get analytics data for this student
void _inviteAllTeachersToAllAnalyticsRooms() {
if (userID == null || userID == BotName.byEnvironment) return;
for (final Room room in allMyAnalyticsRooms) {
room.inviteTeachersToAnalyticsRoom();
}