mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-04-09 20:39:29 +02:00
Fix JIRA comment indexing when author has no email (#1663)
This commit is contained in:
parent
c8891a5829
commit
d985cd4352
@ -84,6 +84,7 @@ def _get_comment_strs(
|
||||
|
||||
if (
|
||||
hasattr(comment, "author")
|
||||
and hasattr(comment.author, "emailAddress")
|
||||
and comment.author.emailAddress in comment_email_blacklist
|
||||
):
|
||||
continue # Skip adding comment if author's email is in blacklist
|
||||
|
Loading…
x
Reference in New Issue
Block a user