Loads of fixes: notifs, autoload setting, overflow, faint text, reply form, status fadein.
This commit is contained in:
parent
82ee24ec31
commit
a1f6ef1dca
12 changed files with 50 additions and 41 deletions
|
@ -246,7 +246,7 @@ const addNewStatuses = (state, { statuses, showImmediately = false, timeline, us
|
|||
const addNotification = ({type, status, action}) => {
|
||||
// Only add a new notification if we don't have one for the same action
|
||||
if (!find(state.notifications, (oldNotification) => oldNotification.action.id === action.id)) {
|
||||
state.notifications.push({type, status, action, seen: false})
|
||||
state.notifications.push({ type, status, action, seen: false })
|
||||
|
||||
if ('Notification' in window && window.Notification.permission === 'granted') {
|
||||
const title = action.user.name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue