Skip to content

Commit

Permalink
Fix UI update error
Browse files Browse the repository at this point in the history
  • Loading branch information
douglascdev committed Oct 12, 2023
1 parent 13e2c9d commit ed7c297
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,2 @@
Changes:
* Improve performance by batch updating chat periodically instead of after every message
* Fix displayed messages lagging behind on high frequency chats
* Catch closed socket connection and reconnect, showing connection status to user(closes #19)
* Display error message when trying to send message without logging in(closes #16)
* Display error message when trying to send message without selecting a chat channel(closes #16)
* Show current selected channel on new message hint text
* Render messages with /me
* Fix UI update error
2 changes: 1 addition & 1 deletion hasherino/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ async def on_message(self, message: Message):
elif (
self.scheduled_ui_update != self._UiUpdateType.SCROLL
): # Scroll already updates
self.scheduled_ui_updates.add(self.page.update_async())
self.scheduled_ui_update.add(self.page.update_async())

logging.debug(f"Chat has {len(self.chat.controls)} lines in it")

Expand Down

0 comments on commit ed7c297

Please sign in to comment.