After import, don't show chats in left pane unless they have messages

This commit is contained in:
trevor-signal 2024-12-12 20:55:14 -05:00 committed by GitHub
parent 97d31cd1a5
commit ec26b82ba7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 34 additions and 20 deletions

7
ts/model-types.d.ts vendored
View file

@ -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<