Further truncating body of notifications.

This commit is contained in:
Samuel Clay 2018-01-18 16:04:16 -08:00
parent f077851e2b
commit 7a17f1993d

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(), 1200)
body = truncate_chars(body.strip(), 1000)
if not body:
body = " "