Commit Graph

7 Commits

Author SHA1 Message Date
link2xt 2d4b52b037 fixup 2026-05-27 16:35:13 +00:00
link2xt 5257f39aee Fix debouncing in chatlist and search
Reset inLoadChatlist only right before exit
in loadChatlistAsync().
Otherwise if loadChatlistAsync() is called
while the loop is running loadChatlist() or Util.sleep(100),
loadChatlistAsync() will see inLoadChatlist=false,
set needsAnotherLoad=true and start a second loop.
This way it is possible to spawn any number of background loops
running loadChatlist() simultaneously
so no debouncing actually happened.

Debouncing in SearchViewModel.updateQuery()
is fixed similarly by copying the code structure from loadChatlistAsync().
Previously it did not even have the lock.
2026-05-27 16:35:13 +00:00
wchen342 55649b0c4b Parse invitation link from search (#4432) 2026-05-15 18:10:32 +02:00
wch423 fa8ed2b881 Remove usages of class.getSimpleName() 2026-04-23 17:55:16 +02:00
adbenitez fd5a3b9f8e apply code formatter part 2 2026-03-11 14:16:44 +01:00
adbenitez 4547f771f5 optimize imports 2025-02-25 18:43:23 +01:00
adbenitez fee58e6eac fix building 2024-06-12 02:17:10 +02:00