Fix condition to check for foreign channel flags in post parser

This commit is contained in:
vvzvlad
2025-04-11 03:08:58 +03:00
parent 255b897e7a
commit 11089d5f08
+1 -1
View File
@@ -374,7 +374,7 @@ class PostParser:
break
# Check boost links separately - only consider as foreign if the boosted channel is not current channel
if not "foreign_channel" in flags:
if "foreign_channel" not in flags:
for boost_channel in boost_links:
if current_channel is None or boost_channel.lower() != current_channel.lower():
flags.append("foreign_channel")