[Timeline] 2 seconds cooldown for requestHistory

This commit is contained in:
Christian Pauly 2020-01-08 14:20:42 +00:00
parent 45744331ea
commit b53d1d22c3

View file

@ -70,6 +70,7 @@ class Timeline {
if (room.prev_batch.isEmpty || room.prev_batch == null) events = [];
},
);
await Future.delayed(const Duration(seconds: 2));
_requestingHistoryLock = false;
}
}