Optimize profile avatar uploads and sync urls

This commit is contained in:
Fedor Indutny
2022-03-15 17:14:20 -07:00
committed by GitHub
parent 703bb8a3a3
commit 36ce4f27a2
15 changed files with 147 additions and 77 deletions
+5
View File
@@ -65,6 +65,11 @@ export type SaveAvatarToDiskActionType = (
conversationId?: string
) => unknown;
export type AvatarUpdateType = Readonly<{
oldAvatar: Uint8Array | undefined;
newAvatar: Uint8Array | undefined;
}>;
const groupIconColors = [
'A180',
'A120',