summaryrefslogtreecommitdiffstats
path: root/model/post.go
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2018-01-23 15:07:31 -0500
committerHarrison Healey <harrisonmhealey@gmail.com>2018-01-23 15:07:31 -0500
commit195ad5620402f1a3239e75ef140e64c3731abf29 (patch)
tree611c43ec55391747333c0bf62e67090861f2a183 /model/post.go
parent3dad6320432c1cbeb032b57619ba78f29433dce3 (diff)
parent2bdd44cce9dc922959dcf51d329a0039eba8debd (diff)
downloadchat-195ad5620402f1a3239e75ef140e64c3731abf29.tar.gz
chat-195ad5620402f1a3239e75ef140e64c3731abf29.tar.bz2
chat-195ad5620402f1a3239e75ef140e64c3731abf29.zip
Merge branch 'release-4.6'
Diffstat (limited to 'model/post.go')
-rw-r--r--model/post.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/model/post.go b/model/post.go
index 950bf401c..f3d990a87 100644
--- a/model/post.go
+++ b/model/post.go
@@ -27,8 +27,9 @@ const (
POST_LEAVE_TEAM = "system_leave_team"
POST_ADD_REMOVE = "system_add_remove" // Deprecated, use POST_ADD_TO_CHANNEL or POST_REMOVE_FROM_CHANNEL instead
POST_ADD_TO_CHANNEL = "system_add_to_channel"
- POST_ADD_TO_TEAM = "system_add_to_team"
POST_REMOVE_FROM_CHANNEL = "system_remove_from_channel"
+ POST_ADD_TO_TEAM = "system_add_to_team"
+ POST_REMOVE_FROM_TEAM = "system_remove_from_team"
POST_HEADER_CHANGE = "system_header_change"
POST_DISPLAYNAME_CHANGE = "system_displayname_change"
POST_PURPOSE_CHANGE = "system_purpose_change"
@@ -196,11 +197,12 @@ func (o *Post) IsValid() *AppError {
POST_ADD_REMOVE,
POST_JOIN_CHANNEL,
POST_LEAVE_CHANNEL,
+ POST_JOIN_TEAM,
POST_LEAVE_TEAM,
- POST_REMOVE_FROM_CHANNEL,
POST_ADD_TO_CHANNEL,
+ POST_REMOVE_FROM_CHANNEL,
POST_ADD_TO_TEAM,
- POST_JOIN_TEAM,
+ POST_REMOVE_FROM_TEAM,
POST_SLACK_ATTACHMENT,
POST_HEADER_CHANGE,
POST_PURPOSE_CHANGE,