forked from srxl/akkoma-fe
#436 - update notification
This commit is contained in:
parent
06fd3a9c5f
commit
b909796683
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ const addNewNotifications = (state, { dispatch, notifications, older, visibleNot
|
|||
if ('Notification' in window && window.Notification.permission === 'granted') {
|
||||
const notifObj = {}
|
||||
const action = notification.action
|
||||
const title = action.user.name
|
||||
const title = action.user.name_html
|
||||
notifObj.icon = action.user.profile_image_url
|
||||
notifObj.body = action.text // there's a problem that it doesn't put a space before links tho
|
||||
|
||||
|
|
Loading…
Reference in a new issue