From 058f704c219a10d8358020793c2ab966e8ff2f9b 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 f45090f96..f1d8dd9a9 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;