mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Merge pull request #6613 from Ocelot-Social-Community/chat-trim-message
fix(backend): chat create message - only take 2000 chat message characters
This commit is contained in:
commit
6c31a6f51c
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user