Use fuse.js for regular contact search
This commit is contained in:
parent
085a698a73
commit
e1e1cfb892
5 changed files with 26 additions and 50 deletions
|
@ -207,7 +207,6 @@ const dataInterface: ClientInterface = {
|
|||
getAllConversationIds,
|
||||
getAllGroupsInvolvingUuid,
|
||||
|
||||
searchConversations,
|
||||
searchMessages,
|
||||
searchMessagesInConversation,
|
||||
|
||||
|
@ -1031,12 +1030,6 @@ async function getAllGroupsInvolvingUuid(uuid: UUIDStringType) {
|
|||
return channels.getAllGroupsInvolvingUuid(uuid);
|
||||
}
|
||||
|
||||
async function searchConversations(query: string) {
|
||||
const conversations = await channels.searchConversations(query);
|
||||
|
||||
return conversations;
|
||||
}
|
||||
|
||||
function handleSearchMessageJSON(
|
||||
messages: Array<ServerSearchResultMessageType>
|
||||
): Array<ClientSearchResultMessageType> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue