New Group: Missing some chats in search results (#1452)

This commit is contained in:
Alexander Zinchuk 2021-09-17 17:17:22 +03:00
parent ae3f2f9c21
commit d121b82de7

View File

@ -94,8 +94,8 @@ async function searchChats(query: string) {
}, },
globalResults: { globalResults: {
...global.globalSearch.globalResults, ...global.globalSearch.globalResults,
chatIds: globalUsers.map(({ id }) => id), chatIds: globalChats.map(({ id }) => id),
userIds: globalChats.map(({ id }) => id), userIds: globalUsers.map(({ id }) => id),
}, },
}); });