mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 12:44:42 +00:00
Trim summaries
This commit is contained in:
parent
1ab373d1c9
commit
ea882f27f3
1 changed files with 1 additions and 1 deletions
|
@ -1584,7 +1584,7 @@ public class EntityRule {
|
|||
|
||||
try {
|
||||
Spanned summary = AI.getSummaryText(context, message, -1L);
|
||||
message.preview = (summary == null ? null : summary.toString());
|
||||
message.preview = (summary == null ? null : summary.toString().trim());
|
||||
} catch (Throwable ex) {
|
||||
message.error = Log.formatThrowable(ex);
|
||||
db.message().setMessageError(message.id, message.error);
|
||||
|
|
Loading…
Reference in a new issue