Fix fetching logs from the server
This commit is contained in:
parent
d7f6d5a536
commit
eff5ab31ba
2 changed files with 5 additions and 3 deletions
|
|
@ -3,6 +3,7 @@
|
|||
## Next version
|
||||
|
||||
- Add nick list
|
||||
- Fix fetching old logs
|
||||
- Rename project from "cheuph" to "bowl"
|
||||
- Clean up code
|
||||
|
||||
|
|
|
|||
|
|
@ -440,6 +440,7 @@ class RoomWidget(urwid.WidgetWrap):
|
|||
def render(self, size: Tuple[int, int], focus: bool) -> None:
|
||||
canvas = super().render(size, focus)
|
||||
|
||||
if not self._hit_top_of_supply:
|
||||
if self._tree.hit_top and not self._requesting_logs:
|
||||
self._requesting_logs = True
|
||||
self.request_logs()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue