Further narrowing down APNS notification size.

This commit is contained in:
Samuel Clay 2018-01-18 16:52:04 -08:00
parent 3d31ed2507
commit a24a33fe2a

View file

@ -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 = " "