diff --git a/app/lib/methods/search.ts b/app/lib/methods/search.ts index ac4e265e2..ee8fdca96 100644 --- a/app/lib/methods/search.ts +++ b/app/lib/methods/search.ts @@ -38,7 +38,8 @@ export const localSearchSubscription = async ({ text = '', filterUsers = true, f t: item.t, encrypted: item.encrypted, lastMessage: item.lastMessage, - status: item.status + status: item.status, + teamMain: item.teamMain })) as ISearchLocal[]; return search; diff --git a/app/views/ShareListView/index.tsx b/app/views/ShareListView/index.tsx index a0c718c8e..5e0bc61f8 100644 --- a/app/views/ShareListView/index.tsx +++ b/app/views/ShareListView/index.tsx @@ -250,7 +250,8 @@ class ShareListView extends React.Component { prid: item.prid, uids: item.uids, usernames: item.usernames, - topic: item.topic + topic: item.topic, + teamMain: item.teamMain })); }; @@ -380,6 +381,7 @@ class ShareListView extends React.Component { type={item.prid ? 'discussion' : item.t} onPress={() => this.shareMessage(item)} testID={`share-extension-item-${item.name}`} + teamMain={item.teamMain} /> ); };