about summary refs log tree commit diff
path: root/app/javascript/mastodon/actions/timelines.js
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-11-30 20:16:26 +0100
committerThibaut Girka <thib@sitedethib.com>2018-11-30 20:16:26 +0100
commitbc8411ec870e579bd2411827f3b8a1d4ecf44796 (patch)
treeb203a43bcb54017dcb24a3937f6e0aa767e225d2 /app/javascript/mastodon/actions/timelines.js
parentb65daa25faab0fbefd367b3cbbe4d32bfd8c5820 (diff)
parentbfec030a4e3be37e4986d7ec5cb1bda968ba549a (diff)
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'app/javascript/mastodon/actions/timelines.js')
-rw-r--r--app/javascript/mastodon/actions/timelines.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/actions/timelines.js b/app/javascript/mastodon/actions/timelines.js
index 81c4c8425..215adc4ea 100644
--- a/app/javascript/mastodon/actions/timelines.js
+++ b/app/javascript/mastodon/actions/timelines.js
@@ -15,7 +15,7 @@ export const TIMELINE_SCROLL_TOP = 'TIMELINE_SCROLL_TOP';
 export const TIMELINE_DISCONNECT = 'TIMELINE_DISCONNECT';
 
 export function updateTimeline(timeline, status, accept) {
-  return (dispatch, getState) => {
+  return dispatch => {
     if (typeof accept === 'function' && !accept(status)) {
       return;
     }