mirror of
https://github.com/h3poteto/whalebird-desktop
synced 2025-02-07 04:43:52 +01:00
Emojify display name in follow notification
This commit is contained in:
parent
55cb48a0a1
commit
7360c4106c
@ -27,6 +27,7 @@
|
||||
|
||||
<script>
|
||||
import FailoverImg from '~/src/renderer/components/atoms/FailoverImg'
|
||||
import emojify from '~/src/renderer/utils/emojify'
|
||||
|
||||
export default {
|
||||
name: 'follow',
|
||||
@ -73,7 +74,7 @@ export default {
|
||||
methods: {
|
||||
username (account) {
|
||||
if (account.display_name !== '') {
|
||||
return account.display_name
|
||||
return emojify(account.display_name, account.emojis)
|
||||
} else {
|
||||
return account.username
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user