Process incoming story messages
This commit is contained in:
parent
df7cdfacc7
commit
eb91eb6fec
84 changed files with 4382 additions and 652 deletions
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue