From 016b5daa1cde1a147701aafce94f67057fbb7aa6 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Tue, 5 Sep 2017 16:39:07 -0400 Subject: PLT-7444: If there is activity in Mattermost before the email batch is sent, do not send the email (#7342) * Changed email batching short-circuit logic to look at last viewed at timestamp in channel member struct instead of in user's status struct, since the latter is only updated if the user's status is set to online * Fixed unit tests * Reduced right-hand drift * Reduced total number of store calls by loading all channel member objects for user exactly once per team that the user received notifications for --- i18n/en.json | 4 ---- 1 file changed, 4 deletions(-) (limited to 'i18n') diff --git a/i18n/en.json b/i18n/en.json index 8ada9ce6c..eb7f5e1cc 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -971,10 +971,6 @@ "id": "api.email_batching.check_pending_emails.finished_running", "translation": "Email batching job ran. %v user(s) still have notifications pending." }, - { - "id": "api.email_batching.check_pending_emails.status.app_error", - "translation": "Unable to find status of recipient for batched email notification" - }, { "id": "api.email_batching.render_batched_post.channel.app_error", "translation": "Unable to find channel of post for batched email notification" -- cgit v1.2.3-1-g7c22