mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-09 15:13:12 -06:00
Placate the almighty linter
This commit is contained in:
parent
7ca0c189e1
commit
3fe36d2e7e
|
|
@ -71,7 +71,7 @@ func (r *Inviter) PerformInvite(
|
|||
if !isOriginLocal && !isTargetLocal {
|
||||
res.Error = &api.PerformError{
|
||||
Code: api.PerformErrorBadRequest,
|
||||
Msg: fmt.Sprintf("The invite must be either from or to a local user"),
|
||||
Msg: "The invite must be either from or to a local user",
|
||||
}
|
||||
return nil, nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue