From a24a33fe2ac74f828f4c55d8ec098c6d20dda0f8 Mon Sep 17 00:00:00 2001 From: Samuel Clay Date: Thu, 18 Jan 2018 16:52:04 -0800 Subject: [PATCH] Further narrowing down APNS notification size. --- apps/notifications/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/notifications/models.py b/apps/notifications/models.py index bcaceeec8..4e207c36b 100644 --- a/apps/notifications/models.py +++ b/apps/notifications/models.py @@ -193,7 +193,7 @@ class MUserFeedNotification(mongo.Document): soup = BeautifulSoup(story['story_content'].strip()) # print story['story_content'] body = replace_with_newlines(soup) - body = truncate_chars(body.strip(), 1000) + body = truncate_chars(body.strip(), 800) if not body: body = " "