Deduplicate usernames

This commit is contained in:
trevor-signal
2025-12-11 15:53:43 -05:00
committed by GitHub
parent 711b27917f
commit 66837d0c2b
9 changed files with 280 additions and 10 deletions

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

@@ -527,6 +527,13 @@ export type ConversationAttributesType = {
test_chatFrameImportedFromBackup?: boolean;
};
// Fields omitted from SettableConversationAttributesType must be set via their
// appropriate setter functions (e.g. ConverationModel.updateUsername)
export type SettableConversationAttributesType = Omit<
ConversationAttributesType,
'username'
>;
export type ConversationRenderInfoType = Pick<
ConversationAttributesType,
| 'e164'