mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
parent
22e4c9d850
commit
1d3a89f058
1 changed files with 3 additions and 2 deletions
|
@ -44,8 +44,9 @@ export const getSearchResults = createSelector(
|
|||
state.conversations.map(id => {
|
||||
const value = lookup[id];
|
||||
|
||||
// Don't return anything when activeAt is undefined (i.e. no current conversations with this user)
|
||||
if (value.activeAt === undefined) {
|
||||
// Don't return anything when activeAt is unset (i.e. no current conversations with this user)
|
||||
if (value.activeAt === undefined || value.activeAt === 0) {
|
||||
//activeAt can be 0 when linking device
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue