about summary refs log tree commit diff
path: root/src/view/com/composer/text-input/web/Autocomplete.tsx
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2024-03-19 19:51:35 +0000
committerSamuel Newman <mozzius@protonmail.com>2024-03-19 19:51:35 +0000
commit4794ab6b9a39d06bb0d1b7c64a315e4ac5e3336a (patch)
tree743b94dff5a4a3b4b2304c53b984b8a3dc67aaa2 /src/view/com/composer/text-input/web/Autocomplete.tsx
parenta1c4f19731878f7026d398d28e475bbeb7de824a (diff)
parent5621c8042510c86f6c4fa63b5c5ce9fc02b0bf8e (diff)
downloadvoidsky-4794ab6b9a39d06bb0d1b7c64a315e4ac5e3336a.tar.zst
Merge remote-tracking branch 'origin/main' into samuel/alf-login
Diffstat (limited to 'src/view/com/composer/text-input/web/Autocomplete.tsx')
-rw-r--r--src/view/com/composer/text-input/web/Autocomplete.tsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/view/com/composer/text-input/web/Autocomplete.tsx b/src/view/com/composer/text-input/web/Autocomplete.tsx
index 76058fed3..29b8f0bc6 100644
--- a/src/view/com/composer/text-input/web/Autocomplete.tsx
+++ b/src/view/com/composer/text-input/web/Autocomplete.tsx
@@ -175,7 +175,11 @@ const MentionList = forwardRef<MentionListRef, SuggestionProps>(
                   }}
                   accessibilityRole="button">
                   <View style={styles.avatarAndDisplayName}>
-                    <UserAvatar avatar={item.avatar ?? null} size={26} />
+                    <UserAvatar
+                      avatar={item.avatar ?? null}
+                      size={26}
+                      type={item.associated?.labeler ? 'labeler' : 'user'}
+                    />
                     <Text style={pal.text} numberOfLines={1}>
                       {displayName}
                     </Text>