thelounge/server/plugins
Reto Brunner 0ebc3a574c search: ignore searchResults if it isn't the active query
Prior to this, the search is still racy but one tends to notice
this only when the DB is large or network is involved.
The user can initiate a search, get bored, navigate to another chan
issue a different search.

Now however, the results of the first search come back in and
hilarity ensues as we are now confused with the state.

To avoid this, keep track of the last search done and any result
that comes in that isn't equal to the active query is garbage and
can be dropped.
2023-01-08 11:41:09 +01:00
..
auth TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
inputs Fix ctcp request message (#4603) 2022-07-06 22:28:18 -07:00
irc-events linkPreviews: Enforce TLS validity 2022-08-06 12:37:51 +02:00
messageStorage search: ignore searchResults if it isn't the active query 2023-01-08 11:41:09 +01:00
packages TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
auth.ts TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
changelog.ts Added client type checking to webpack (#4619) 2022-08-23 00:26:07 -07:00
clientCertificate.ts TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
dev-server.ts TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
storage.ts TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
sts.ts TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
uploader.ts TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
webpush.ts TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00