Quiet, linter

This commit is contained in:
Gabe Kangas
2022-01-27 14:58:31 -08:00
parent 7b7bbe405b
commit 8bc40486f8
6 changed files with 7 additions and 7 deletions

View File

@@ -326,6 +326,7 @@ func saveMessageVisibility(messageIDs []string, visible bool) error {
return err
}
//nolint:gosec
stmt, err := tx.Prepare("UPDATE messages SET hidden_at=? WHERE id IN (?" + strings.Repeat(",?", len(messageIDs)-1) + ")")
if err != nil {
return err