Process incoming story messages

This commit is contained in:
Josh Perez 2022-03-04 16:14:52 -05:00 committed by GitHub
parent df7cdfacc7
commit eb91eb6fec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
84 changed files with 4382 additions and 652 deletions

View file

@ -1,4 +1,4 @@
// Copyright 2020-2021 Signal Messenger, LLC
// Copyright 2020-2022 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
export const AvatarColorMap = new Map([
@ -184,3 +184,7 @@ export type CustomColorsItemType = {
readonly colors: Record<string, CustomColorType>;
readonly version: number;
};
export function getAvatarColor(color?: AvatarColorType): AvatarColorType {
return color || AvatarColors[0];
}