Fix nsfw in notifications again.

This commit is contained in:
Roger Braun 2018-04-23 19:22:28 +02:00
parent 39026f8bc3
commit 935b7745ea

View File

@ -136,7 +136,7 @@ const addNewStatuses = (state, { statuses, showImmediately = false, timeline, us
if (result.new) {
if (statusType(status) === 'retweet' && status.retweeted_status.user.id === user.id) {
addNotification({ type: 'repeat', status: status.retweeted_status, action: status })
addNotification({ type: 'repeat', status: status, action: status })
}
// We are mentioned in a post