summaryrefslogtreecommitdiffstats
path: root/app/email_batching.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/email_batching.go')
-rw-r--r--app/email_batching.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/email_batching.go b/app/email_batching.go
index fc2fb1cea..055656f30 100644
--- a/app/email_batching.go
+++ b/app/email_batching.go
@@ -244,6 +244,8 @@ func renderBatchedPost(template *utils.HTMLTemplate, post *model.Post, teamName
return ""
} else if channel := result.Data.(*model.Channel); channel.Type == model.CHANNEL_DIRECT {
template.Props["ChannelName"] = translateFunc("api.email_batching.render_batched_post.direct_message")
+ } else if channel.Type == model.CHANNEL_GROUP {
+ template.Props["ChannelName"] = translateFunc("api.email_batching.render_batched_post.group_message")
} else {
template.Props["ChannelName"] = channel.DisplayName
}