summaryrefslogtreecommitdiffstats
path: root/model/post.go
diff options
context:
space:
mode:
authorChris <ccbrown112@gmail.com>2017-10-24 18:36:31 -0500
committerJoram Wilander <jwawilander@gmail.com>2017-10-24 19:36:31 -0400
commit9c0575ce6ef662c18ad7eb91bf6084c6fac1b7ae (patch)
tree635ba5631b382c1e69f9719c6131ce74428b69ed /model/post.go
parent61b023f5dfe796c7ba8183292853f01817016d14 (diff)
downloadchat-9c0575ce6ef662c18ad7eb91bf6084c6fac1b7ae.tar.gz
chat-9c0575ce6ef662c18ad7eb91bf6084c6fac1b7ae.tar.bz2
chat-9c0575ce6ef662c18ad7eb91bf6084c6fac1b7ae.zip
PLT-7599: webhook post splitting (#7707)
* webhook post splitting * style fix * update old webhook test
Diffstat (limited to 'model/post.go')
-rw-r--r--model/post.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/model/post.go b/model/post.go
index a5ae0b82a..a7be63432 100644
--- a/model/post.go
+++ b/model/post.go
@@ -32,6 +32,7 @@ const (
POST_HASHTAGS_MAX_RUNES = 1000
POST_MESSAGE_MAX_RUNES = 4000
POST_PROPS_MAX_RUNES = 8000
+ POST_PROPS_MAX_USER_RUNES = POST_PROPS_MAX_RUNES - 400 // Leave some room for system / pre-save modifications
POST_CUSTOM_TYPE_PREFIX = "custom_"
PROPS_ADD_CHANNEL_MEMBER = "add_channel_member"
)