diff options
Diffstat (limited to 'src/modules/statuses.js')
| -rw-r--r-- | src/modules/statuses.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/statuses.js b/src/modules/statuses.js index cee249e2..43d5d1ac 100644 --- a/src/modules/statuses.js +++ b/src/modules/statuses.js @@ -121,6 +121,10 @@ const addNewStatuses = (state, { statuses, showImmediately = false, timeline, us if (result.new) { updateMaxId(status) + + if (statusType(status) === 'retweet' && status.retweeted_status.user.id === user.id) { + addNotification({ type: 'repeat', status: status.retweeted_status, action: status }) + } } // Some statuses should only be added to the global status repository. @@ -201,6 +205,7 @@ const addNewStatuses = (state, { statuses, showImmediately = false, timeline, us } }, 'default': (unknown) => { + console.log('unknown status type') console.log(unknown) } } |
