Page MenuHomePhabricator

D7319.diff
No OneTemporary

D7319.diff

diff --git a/lib/shared/avatar-utils.js b/lib/shared/avatar-utils.js
--- a/lib/shared/avatar-utils.js
+++ b/lib/shared/avatar-utils.js
@@ -52,11 +52,6 @@
{ color: selectedThreadColors[8], emoji: '🏀', type: 'emoji' },
];
-function getRandomDefaultEmojiAvatar(): ClientEmojiAvatar {
- const randomIndex = Math.floor(Math.random() * defaultEmojiAvatars.length);
- return defaultEmojiAvatars[randomIndex];
-}
-
function getDefaultAvatar(hashKey: string, color?: string): ClientEmojiAvatar {
const avatarIndex = stringHash(hashKey) % defaultEmojiAvatars.length;
@@ -162,7 +157,6 @@
}
export {
- getRandomDefaultEmojiAvatar,
getAvatarForUser,
getUserAvatarForThread,
useAvatarForThread,

File Metadata

Mime Type
text/plain
Expires
Wed, Jan 8, 1:38 PM (3 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2817826
Default Alt Text
D7319.diff (713 B)

Event Timeline