diff options
author | Martin Kraft <mkraft@users.noreply.github.com> | 2018-03-09 10:30:05 -0500 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2018-03-09 10:30:05 -0500 |
commit | 426796829a4a1436c4733ee856d033c02749e64b (patch) | |
tree | 21076940dc50994670aca2af9724c89c43de27a8 /model | |
parent | 8ad99b4b1fbc901a69886d9a12ac016d8396b32f (diff) | |
download | chat-426796829a4a1436c4733ee856d033c02749e64b.tar.gz chat-426796829a4a1436c4733ee856d033c02749e64b.tar.bz2 chat-426796829a4a1436c4733ee856d033c02749e64b.zip |
MM-8839: Adds ChannelType to compliance-related model. (#8424)
Diffstat (limited to 'model')
-rw-r--r-- | model/compliance_post.go | 3 | ||||
-rw-r--r-- | model/message_export.go | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/model/compliance_post.go b/model/compliance_post.go index 3751c5862..75e8de1f1 100644 --- a/model/compliance_post.go +++ b/model/compliance_post.go @@ -17,6 +17,7 @@ type CompliancePost struct { // From Channel ChannelName string ChannelDisplayName string + ChannelType string // From User UserUsername string @@ -45,6 +46,7 @@ func CompliancePostHeader() []string { "ChannelName", "ChannelDisplayName", + "ChannelType", "UserUsername", "UserEmail", @@ -92,6 +94,7 @@ func (me *CompliancePost) Row() []string { cleanComplianceStrings(me.ChannelName), cleanComplianceStrings(me.ChannelDisplayName), + cleanComplianceStrings(me.ChannelType), cleanComplianceStrings(me.UserUsername), cleanComplianceStrings(me.UserEmail), diff --git a/model/message_export.go b/model/message_export.go index 22641deee..6efb8c6a4 100644 --- a/model/message_export.go +++ b/model/message_export.go @@ -6,6 +6,7 @@ package model type MessageExport struct { ChannelId *string ChannelDisplayName *string + ChannelType *string UserId *string UserEmail *string |