From 98c8c1ebd278f59e97c7d17628e7710cd4c933d4 Mon Sep 17 00:00:00 2001 From: Claire Date: Thu, 13 Nov 2025 16:42:14 +0100 Subject: [PATCH] Fix error when sending new posts (#36869) --- app/javascript/mastodon/actions/timelines.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/mastodon/actions/timelines.js b/app/javascript/mastodon/actions/timelines.js index f45090f961..f1d8dd9a97 100644 --- a/app/javascript/mastodon/actions/timelines.js +++ b/app/javascript/mastodon/actions/timelines.js @@ -32,7 +32,7 @@ export const loadPending = timeline => ({ timeline, }); -export function updateTimeline(timeline, status, { accept = undefined, bogusQuotePolicy = false }) { +export function updateTimeline(timeline, status, { accept = undefined, bogusQuotePolicy = false } = {}) { return (dispatch, getState) => { if (typeof accept === 'function' && !accept(status)) { return;