Skip to content

Commit

Permalink
Make default value false for preventsChatReports (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
Whiler Sesame authored Jul 16, 2024
1 parent a7c2360 commit 88d857c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public record CustomServerMetadata(Text description, Optional<ServerMetadata.Pla
.forGetter(CustomServerMetadata::favicon),
Codec.BOOL.lenientOptionalFieldOf("enforcesSecureChat", false)
.forGetter(CustomServerMetadata::secureChatEnforced),
Codec.BOOL.lenientOptionalFieldOf("preventsChatReports", true)
Codec.BOOL.lenientOptionalFieldOf("preventsChatReports", false)
.forGetter(CustomServerMetadata::preventsChatReports))
.apply(instance, CustomServerMetadata::new));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public record CustomServerMetadata(Component description, Optional<ServerStatus.
.forGetter(CustomServerMetadata::favicon),
Codec.BOOL.lenientOptionalFieldOf("enforcesSecureChat", false)
.forGetter(CustomServerMetadata::enforcesSecureChat),
Codec.BOOL.lenientOptionalFieldOf("preventsChatReports", true)
Codec.BOOL.lenientOptionalFieldOf("preventsChatReports", false)
.forGetter(CustomServerMetadata::preventsChatReports))
.apply(instance, CustomServerMetadata::new));

Expand Down

0 comments on commit 88d857c

Please sign in to comment.