Removed redundant length check on tags list.
This commit is contained in:
@@ -166,7 +166,7 @@ class NotificationService:
|
|||||||
body_text += "\n\nTo tune in, visit: https://" + domain + "/"
|
body_text += "\n\nTo tune in, visit: https://" + domain + "/"
|
||||||
|
|
||||||
# Add tags if present
|
# Add tags if present
|
||||||
if tags and len(tags) > 0:
|
if tags:
|
||||||
safe_tags = []
|
safe_tags = []
|
||||||
for tag in tags:
|
for tag in tags:
|
||||||
safe_tag = sanitize_for_plain_text(tag)
|
safe_tag = sanitize_for_plain_text(tag)
|
||||||
|
|||||||
Reference in New Issue
Block a user