Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mute duration #2301

Closed
asmaloney opened this issue Aug 2, 2023 · 3 comments · Fixed by #2665
Closed

Add mute duration #2301

asmaloney opened this issue Aug 2, 2023 · 3 comments · Fixed by #2665
Labels
s: pending triage Pending Triage

Comments

@asmaloney
Copy link
Contributor

This is kind of a companion proposal to #1078.

I often find myself wanting to mute an account for a day or two when they are "heavy-posting" about a topic.

The official Mastodon client lets you specify a duration with a drop down menu when muting an account (see screenshot in the issue above).

Could this capability be added to elk?

@asmaloney asmaloney added the s: pending triage Pending Triage label Aug 2, 2023
@stackblitz
Copy link

stackblitz bot commented Aug 2, 2023

Solve in StackBlitz Codeflow Start a new pull request in StackBlitz Codeflow.

@asmaloney asmaloney changed the title Add mute duraton Add mute duration Aug 7, 2023
@shuuji3
Copy link
Member

shuuji3 commented Sep 20, 2023

I agree that this is a useful feature in a situation like that without muting followee indefinitely.

Elk uses JavaScript library masto.js but it looks like masto.js doesn't have a mute duration parameter yet. So we need to wait for masto.js to implement this additional parameter first. I'll try to make a PR for this in masto.js repository later.

References

@shuuji3
Copy link
Member

shuuji3 commented Sep 22, 2023

OK, I've submitted the PR and it was published now. This feature is available via the latest version of masto.js v6.3.0: https://github.com/neet/masto.js/releases/tag/v6.3.0

docs: https://neet.github.io/masto.js/interfaces/mastodon.rest.v1.MuteAccountParams.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s: pending triage Pending Triage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants