Skip to content

Commit

Permalink
fix: Code style
Browse files Browse the repository at this point in the history
Signed-off-by: The one with the braid <[email protected]>
  • Loading branch information
TheOneWithTheBraid committed Oct 20, 2023
1 parent f1fd6f4 commit 5dea95f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/src/client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2221,7 +2221,7 @@ class Client extends MatrixApi {
requestHistoryOnLimitedTimeline) {
Logs().v(
'Limited timeline for ${rooms[roomIndex].id} request history now');
runInRoot(rooms[roomIndex].requestHistory);
unawaited(runInRoot(rooms[roomIndex].requestHistory));
}
}
return room;
Expand Down
2 changes: 1 addition & 1 deletion lib/src/room.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1190,7 +1190,7 @@ class Room {
// Update archived rooms, otherwise an archived room may still be in the
// list after a forget room call
final roomIndex = client.archivedRooms.indexWhere((r) => r.room.id == id);
if(roomIndex != -1){
if (roomIndex != -1) {
client.archivedRooms.removeAt(roomIndex);
}
return;
Expand Down

0 comments on commit 5dea95f

Please sign in to comment.