only take 2000 chat message characters

This commit is contained in:
Ulf Gebhardt 2023-07-19 11:51:41 +02:00
parent c2655867c9
commit 93aaea4aa1
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -81,7 +81,7 @@ export default {
createdAt: toString(datetime()),
id: apoc.create.uuid(),
indexId: CASE WHEN maxIndex IS NOT NULL THEN maxIndex + 1 ELSE 0 END,
content: $content,
content: LEFT($content,2000),
saved: true,
distributed: false,
seen: false