fix: Code style
Signed-off-by: The one with the braid <info@braid.business>
This commit is contained in:
parent
f1fd6f43f9
commit
5dea95f02c
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue