diff --git a/src/modules/statuses.js b/src/modules/statuses.js index 89e00119ab..2c3d2550d0 100644 --- a/src/modules/statuses.js +++ b/src/modules/statuses.js @@ -172,6 +172,14 @@ const addNewStatuses = (state, { statuses, showImmediately = false, timeline, us sortTimeline(mentions) } } + if (status.visibility === 'direct') { + const dms = state.timelines.dms + + mergeOrAdd(dms.statuses, dms.statusesObject, status) + dms.newStatusCount += 1 + + sortTimeline(dms) + } } // Decide if we should treat the status as new for this timeline.