Avatar defaults and colors
This commit is contained in:
parent
a001882d58
commit
12d2b1bf7c
140 changed files with 4212 additions and 1084 deletions
|
@ -4,6 +4,7 @@
|
|||
import { v4 as generateUuid } from 'uuid';
|
||||
import { sample } from 'lodash';
|
||||
import { ConversationType } from '../../state/ducks/conversations';
|
||||
import { getRandomColor } from './getRandomColor';
|
||||
|
||||
const FIRST_NAMES = [
|
||||
'James',
|
||||
|
@ -323,6 +324,7 @@ export function getDefaultConversation(
|
|||
return {
|
||||
acceptedMessageRequest: true,
|
||||
e164: '+1300555000',
|
||||
color: getRandomColor(),
|
||||
firstName,
|
||||
id: generateUuid(),
|
||||
isGroupV2Capable: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue