mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-30 02:26:16 -06:00
update wording
This commit is contained in:
parent
5d374113df
commit
7159182be3
1 changed files with 1 additions and 1 deletions
|
|
@ -149,7 +149,7 @@ func normalizeCreateUpdateMute(form *apimodel.UserMuteCreateUpdateRequest) error
|
|||
form.Duration = duration
|
||||
}
|
||||
|
||||
// Ensure no zero duration is set.
|
||||
// Interpret zero as indefinite duration.
|
||||
if form.Duration != nil && *form.Duration == 0 {
|
||||
form.Duration = nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue