Passive UUID support
Co-authored-by: Scott Nonnenberg <scott@signal.org>
This commit is contained in:
parent
f64ca0ed21
commit
a90246cbe5
49 changed files with 2226 additions and 776 deletions
|
@ -16,6 +16,8 @@ export interface PropsType {
|
|||
startSearchCounter: number;
|
||||
|
||||
// To be used as an ID
|
||||
ourConversationId: string;
|
||||
ourUuid: string;
|
||||
ourNumber: string;
|
||||
regionCode: string;
|
||||
|
||||
|
@ -40,7 +42,9 @@ export interface PropsType {
|
|||
searchDiscussions: (
|
||||
query: string,
|
||||
options: {
|
||||
ourConversationId: string;
|
||||
ourNumber: string;
|
||||
ourUuid: string;
|
||||
noteToSelf: string;
|
||||
}
|
||||
) => void;
|
||||
|
@ -147,7 +151,9 @@ export class MainHeader extends React.Component<PropsType, StateType> {
|
|||
public search = debounce((searchTerm: string) => {
|
||||
const {
|
||||
i18n,
|
||||
ourConversationId,
|
||||
ourNumber,
|
||||
ourUuid,
|
||||
regionCode,
|
||||
searchDiscussions,
|
||||
searchMessages,
|
||||
|
@ -157,7 +163,9 @@ export class MainHeader extends React.Component<PropsType, StateType> {
|
|||
if (searchDiscussions && !searchConversationId) {
|
||||
searchDiscussions(searchTerm, {
|
||||
noteToSelf: i18n('noteToSelf').toLowerCase(),
|
||||
ourConversationId,
|
||||
ourNumber,
|
||||
ourUuid,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue