removed error logging for chat list longer then spacechildren

This commit is contained in:
ggurdin 2023-12-29 11:46:12 -05:00
parent d703fea331
commit 14803aced6

View file

@ -511,13 +511,6 @@ extension PangeaRoom on Room {
.where((element) => !element.isSpace)
.toList();
if (spaceChildren.length != spaceChats.length) {
// debugger(when: kDebugMode);
ErrorHandler.logError(
m: "spaceChildren.length > chats.length in updateMyLearningAnalyticsForClass",
);
}
final List<Future<List<RecentMessageRecord>>> msgListFutures = [];
for (final chat in spaceChats) {
msgListFutures.add(chat._messageListForChat);