Trim summaries

pull/215/head
M66B 4 months ago
parent 1ab373d1c9
commit ea882f27f3

@ -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…
Cancel
Save