forked from open-webui/open-webui
feat: gravatar support added
This commit is contained in:
parent
201b5161f4
commit
edd3aaeffe
4 changed files with 76 additions and 11 deletions
|
@ -871,7 +871,11 @@
|
|||
<div class="space-x-7 flex w-full">
|
||||
<div class="">
|
||||
<img
|
||||
src="/{message.role == 'user' ? 'user' : 'favicon'}.png"
|
||||
src="{message.role == 'user'
|
||||
? settings.gravatarUrl
|
||||
? settings.gravatarUrl
|
||||
: '/user'
|
||||
: '/favicon'}.png"
|
||||
class=" max-w-[32px] object-cover rounded"
|
||||
/>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue