main
Bob Mottram 2020-05-02 13:17:02 +00:00
parent 78ff64dfc1
commit 17d95ea5f8
1 changed files with 2 additions and 0 deletions

View File

@ -2047,6 +2047,8 @@ def inboxAfterCapabilities(recentPostsCache: {}, maxRecentPosts: int,
nickname = handle.split('@')[0] nickname = handle.split('@')[0]
if validPostContent(baseDir, nickname, domain, if validPostContent(baseDir, nickname, domain,
postJsonObject, maxMentions, maxEmoji): postJsonObject, maxMentions, maxEmoji):
# check for incoming git patches
if isinstance(messageJson['object'], dict): if isinstance(messageJson['object'], dict):
if messageJson['object'].get('content') and \ if messageJson['object'].get('content') and \
messageJson['object'].get('summary'): messageJson['object'].get('summary'):