[Glitch] Fix error when sending new posts

Port 98c8c1ebd2 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Claire committed 2025-11-13 18:14:59 +01:00
1 parent 8ab9040afc
commit d53ff25529
1 file changed
+1 -1
@@ -33,7 +33,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;