update error message

This commit is contained in:
Dan Anglin 2024-08-17 11:18:17 +01:00
parent 684b4426eb
commit 1d93cccd90
Signed by: dananglin
GPG key ID: 0C1D44CFBEE68638
2 changed files with 2 additions and 2 deletions

View file

@ -75,7 +75,7 @@ func (m *MuteExecutor) muteStatus(gtsClient *client.Client) error {
}
if !canMute {
return Error{"unable to mute the status because you are not the owner and you are not mentioned in it"}
return Error{"unable to mute the status because the status does not belong to you nor are you mentioned in it"}
}
if err := gtsClient.MuteStatus(m.statusID); err != nil {

View file

@ -70,7 +70,7 @@ func (m *UnmuteExecutor) unmuteStatus(gtsClient *client.Client) error {
}
if !canUnmute {
return Error{"unable to unmute the status because you are not the owner and you are not mentioned in it"}
return Error{"unable to unmute the status because the status does not belong to you nor are you mentioned in it"}
}
if err := gtsClient.UnmuteStatus(m.statusID); err != nil {