summaryrefslogtreecommitdiffstats
path: root/app/notification.go
diff options
context:
space:
mode:
authorCarlos Tadeu Panato Junior <ctadeu@gmail.com>2018-09-17 09:29:04 +0200
committerGitHub <noreply@github.com>2018-09-17 09:29:04 +0200
commit35c148d2551bbb65a6d469b44876ba78578397c1 (patch)
treed206c1ae0771392cb4d4aa8452814178a8ad74d4 /app/notification.go
parent4fb78176100680fd9c22f34aad5338a056106148 (diff)
downloadchat-35c148d2551bbb65a6d469b44876ba78578397c1.tar.gz
chat-35c148d2551bbb65a6d469b44876ba78578397c1.tar.bz2
chat-35c148d2551bbb65a6d469b44876ba78578397c1.zip
fixing log messages (#9341)
* fixing log messages * update per review * Update notification.go * Update server.go * Update notification.go
Diffstat (limited to 'app/notification.go')
-rw-r--r--app/notification.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/notification.go b/app/notification.go
index 910748cd3..92b69039b 100644
--- a/app/notification.go
+++ b/app/notification.go
@@ -284,7 +284,7 @@ func (a *App) SendNotifications(post *model.Post, team *model.Team, channel *mod
if *a.Config().EmailSettings.SendPushNotifications {
pushServer := *a.Config().EmailSettings.PushNotificationServer
if license := a.License(); pushServer == model.MHPNS && (license == nil || !*license.Features.MHPNS) {
- mlog.Warn("api.post.send_notifications_and_forget.push_notification.mhpnsWarn FIXME: NOT FOUND IN TRANSLATIONS FILE")
+ mlog.Warn("Push notifications are disabled. Go to System Console > Notifications > Mobile Push to enable them.")
sendPushNotifications = false
} else {
sendPushNotifications = true
@@ -365,7 +365,7 @@ func (a *App) SendNotifications(post *model.Post, team *model.Team, channel *mod
var infos []*model.FileInfo
if result := <-fchan; result.Err != nil {
- mlog.Warn(fmt.Sprint("api.post.send_notifications.files.error FIXME: NOT FOUND IN TRANSLATIONS FILE", post.Id, result.Err), mlog.String("post_id", post.Id))
+ mlog.Warn(fmt.Sprint("Unable to get fileInfo for push notifications.", post.Id, result.Err), mlog.String("post_id", post.Id))
} else {
infos = result.Data.([]*model.FileInfo)
}