fix: fix bug in sub and bookmark search (#5163)

* add fav to subscription

* add fav to search sub
This commit is contained in:
Gleidson Daniel Silva 2023-08-21 10:45:37 -03:00 committed by GitHub
parent fba1419f90
commit 323143a45b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -66,7 +66,8 @@ export const localSearchSubscription = async ({
lastMessage: item.lastMessage,
status: item.status,
teamMain: item.teamMain,
prid: item.prid
prid: item.prid,
f: item.f
})) as ISearchLocal[];
return search;

View File

@ -524,7 +524,7 @@ class RoomsListView extends React.Component<IRoomsListViewProps, IRoomsListViewS
observable = await db
.get('subscriptions')
.query(...defaultWhereClause)
.observeWithColumns(['alert', 'on_hold']);
.observeWithColumns(['alert', 'on_hold', 'f']);
// When we're NOT grouping
} else {
this.count += QUERY_SIZE;