fix noteToSelf message

This commit is contained in:
Jamie Kyle 2023-06-14 17:57:27 -07:00 committed by GitHub
parent 5e8c22bf28
commit 008cb99ab9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -179,11 +179,13 @@ function updateSearchTerm(
'updateSearchTerm our conversation is missing' 'updateSearchTerm our conversation is missing'
); );
const i18n = getIntl(state);
doSearch({ doSearch({
dispatch, dispatch,
allConversations: getAllConversations(state), allConversations: getAllConversations(state),
regionCode: getRegionCode(state), regionCode: getRegionCode(state),
noteToSelf: getIntl(state)('noteToSelf').toLowerCase(), noteToSelf: i18n('icu:noteToSelf').toLowerCase(),
ourConversationId, ourConversationId,
query: getQuery(state), query: getQuery(state),
searchConversationId: getSearchConversation(state)?.id, searchConversationId: getSearchConversation(state)?.id,