mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-21 05:45:13 +00:00
Further narrowing down APNS notification size.
This commit is contained in:
parent
3d31ed2507
commit
a24a33fe2a
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ class MUserFeedNotification(mongo.Document):
|
||||||
soup = BeautifulSoup(story['story_content'].strip())
|
soup = BeautifulSoup(story['story_content'].strip())
|
||||||
# print story['story_content']
|
# print story['story_content']
|
||||||
body = replace_with_newlines(soup)
|
body = replace_with_newlines(soup)
|
||||||
body = truncate_chars(body.strip(), 1000)
|
body = truncate_chars(body.strip(), 800)
|
||||||
if not body:
|
if not body:
|
||||||
body = " "
|
body = " "
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue