fix: Code style

Signed-off-by: The one with the braid <info@braid.business>
This commit is contained in:
The one with the braid 2023-10-20 12:57:54 +02:00
parent f1fd6f43f9
commit 5dea95f02c
2 changed files with 2 additions and 2 deletions

View File

@ -2221,7 +2221,7 @@ class Client extends MatrixApi {
requestHistoryOnLimitedTimeline) { requestHistoryOnLimitedTimeline) {
Logs().v( Logs().v(
'Limited timeline for ${rooms[roomIndex].id} request history now'); 'Limited timeline for ${rooms[roomIndex].id} request history now');
runInRoot(rooms[roomIndex].requestHistory); unawaited(runInRoot(rooms[roomIndex].requestHistory));
} }
} }
return room; return room;

View File

@ -1190,7 +1190,7 @@ class Room {
// Update archived rooms, otherwise an archived room may still be in the // Update archived rooms, otherwise an archived room may still be in the
// list after a forget room call // list after a forget room call
final roomIndex = client.archivedRooms.indexWhere((r) => r.room.id == id); final roomIndex = client.archivedRooms.indexWhere((r) => r.room.id == id);
if(roomIndex != -1){ if (roomIndex != -1) {
client.archivedRooms.removeAt(roomIndex); client.archivedRooms.removeAt(roomIndex);
} }
return; return;