summaryrefslogtreecommitdiffstats
path: root/app/notification.go
diff options
context:
space:
mode:
authorElias Nahum <nahumhbl@gmail.com>2018-06-21 11:10:29 -0400
committerJoram Wilander <jwawilander@gmail.com>2018-06-21 11:10:29 -0400
commit4f2bbc344850fe9655ef26d5444e76b411f0635c (patch)
tree20e9f6b8fed71da7bf7829baf456a289226e12c9 /app/notification.go
parent0d741301a379f3de159226880b3c86301fe19b1a (diff)
downloadchat-4f2bbc344850fe9655ef26d5444e76b411f0635c.tar.gz
chat-4f2bbc344850fe9655ef26d5444e76b411f0635c.tar.bz2
chat-4f2bbc344850fe9655ef26d5444e76b411f0635c.zip
Add back the ability to reply to push notifications in iOS (#8977)
Diffstat (limited to 'app/notification.go')
-rw-r--r--app/notification.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/notification.go b/app/notification.go
index dbd37c7f2..2ba585f3b 100644
--- a/app/notification.go
+++ b/app/notification.go
@@ -722,6 +722,7 @@ func (a *App) sendPushNotification(post *model.Post, user *model.User, channel *
msg.Badge = int(badge.Data.(int64))
}
+ msg.Category = model.CATEGORY_CAN_REPLY
msg.Version = model.PUSH_MESSAGE_V2
msg.Type = model.PUSH_TYPE_MESSAGE
msg.TeamId = channel.TeamId