Skip to content

Commit

Permalink
do not use custom title because 32 limit in new version
Browse files Browse the repository at this point in the history
  • Loading branch information
MrXiaoM committed Jan 9, 2025
1 parent 49cb95d commit 0cdfe33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/top/mrxiaom/sweetmail/utils/Util.java
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public static Book legacyBook(String title, List<String> pages, String author) {
List<Component> bookPages = pages.isEmpty() ? Lists.newArrayList(Component.empty()) : Util.legacy(pages);
Component bookAuthor = Util.legacy(author);
return Book.builder()
.title(Util.legacy(title))
.title(Component.text("SweetMail"))
.pages(bookPages)
.author(bookAuthor)
.build();
Expand Down

0 comments on commit 0cdfe33

Please sign in to comment.