diff --git a/components/account/AccountMoreButton.vue b/components/account/AccountMoreButton.vue index 1d0b8669..d4dc271a 100644 --- a/components/account/AccountMoreButton.vue +++ b/components/account/AccountMoreButton.vue @@ -34,6 +34,13 @@ const toggleBlockDomain = async () => { relationship!.domainBlocking = !relationship!.domainBlocking await masto.v1.domainBlocks[relationship!.domainBlocking ? 'block' : 'unblock'](getServerName(account)) } + +const toggleReblogs = async () => { + // TODO: Add confirmation + + const showingReblogs = !relationship?.showingReblogs + relationship = await masto.v1.accounts.follow(account.id, { reblogs: showingReblogs }) +}