Skip to content

Commit 93babc4

Browse files
rablwupeiclaude
andcommitted
fix(matrix): suppress unused field lint for cryptoHelper
The cryptoHelper field is only accessed in e2ee.go (goolm build tag), so the default build's linter flags it as unused. Add //nolint:unused since this is intentional. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 6e9e66c commit 93babc4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

platform/matrix/matrix.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ type Platform struct {
5151
unavailableNotified bool
5252
dedup core.MessageDedup
5353
httpClient *http.Client
54-
cryptoHelper any // *cryptohelper.CryptoHelper when built with goolm tag
54+
cryptoHelper any //nolint:unused // *cryptohelper.CryptoHelper when built with goolm tag
5555
crossSigningPassword string
5656
}
5757

0 commit comments

Comments
 (0)