After import, don't show chats in left pane unless they have messages
This commit is contained in:
parent
97d31cd1a5
commit
ec26b82ba7
4 changed files with 34 additions and 20 deletions
7
ts/model-types.d.ts
vendored
7
ts/model-types.d.ts
vendored
|
@ -504,6 +504,13 @@ export type ConversationAttributesType = {
|
|||
|
||||
// Legacy field, mapped to above in getConversation()
|
||||
unblurredAvatarPath?: string;
|
||||
|
||||
// Only used during backup integration tests. After import, our data model merges
|
||||
// Contact and Chat frames from a backup, and we will then by default export both, even
|
||||
// if the Chat frame was not imported. That's fine in normal usage, but breaks
|
||||
// integration tests that aren't expecting to see a Chat frame on export that was not
|
||||
// there on import.
|
||||
test_chatFrameImportedFromBackup?: boolean;
|
||||
};
|
||||
|
||||
export type ConversationRenderInfoType = Pick<
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue