0ebc3a574c
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. |
||
---|---|---|
.. | ||
auth.ts | ||
changelog.ts | ||
commands.ts | ||
configuration.ts | ||
connection.ts | ||
history_clear.ts | ||
index.ts | ||
init.ts | ||
join.ts | ||
mentions.ts | ||
more.ts | ||
msg_preview.ts | ||
msg_special.ts | ||
msg.ts | ||
mute_changed.ts | ||
names.ts | ||
network.ts | ||
nick.ts | ||
open.ts | ||
part.ts | ||
quit.ts | ||
search.ts | ||
sessions_list.ts | ||
setting.ts | ||
sign_out.ts | ||
sync_sort.ts | ||
topic.ts | ||
users.ts |