diff options
author | Wim <wim@42.be> | 2016-04-16 20:39:43 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2016-04-16 20:39:43 +0200 |
commit | 51265d546409de12483531773fc1fbc73453ae6e (patch) | |
tree | 924b5be51b320a6fe05784f2495a2bfcfc7a3242 /vendor/github.com/mattermost/platform/model/push_notification.go | |
parent | de4c7804101a47a01d0c9b88ea34d2b153e2b6b9 (diff) | |
download | matterbridge-msglm-51265d546409de12483531773fc1fbc73453ae6e.tar.gz matterbridge-msglm-51265d546409de12483531773fc1fbc73453ae6e.tar.bz2 matterbridge-msglm-51265d546409de12483531773fc1fbc73453ae6e.zip |
Sync with mattermost 2.2.0 release
Diffstat (limited to 'vendor/github.com/mattermost/platform/model/push_notification.go')
-rw-r--r-- | vendor/github.com/mattermost/platform/model/push_notification.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/vendor/github.com/mattermost/platform/model/push_notification.go b/vendor/github.com/mattermost/platform/model/push_notification.go index 9196a44d..42feca2e 100644 --- a/vendor/github.com/mattermost/platform/model/push_notification.go +++ b/vendor/github.com/mattermost/platform/model/push_notification.go @@ -11,8 +11,7 @@ import ( const ( PUSH_NOTIFY_APPLE = "apple" PUSH_NOTIFY_ANDROID = "android" - - CATEGORY_DM = "DIRECT_MESSAGE" + MHPNS = "https://push.mattermost.com" ) type PushNotification struct { @@ -24,8 +23,6 @@ type PushNotification struct { Message string `json:"message"` Badge int `json:"badge"` ContentAvailable int `json:"cont_ava"` - ChannelId string `json:"channel_id"` - ChannelName string `json:"channel_name"` } func (me *PushNotification) ToJson() string { |