fix BBSLink for open mode

fix for issue raised https://github.com/SpudGunMan/meshing-around/discussions/142
This commit is contained in:
SpudGunMan
2025-03-30 11:29:00 -07:00
parent 239dbb8be0
commit 9818cccbbf
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -1474,6 +1474,7 @@ async def start_rx():
# Send bbslink looking for peers every other day at 10:00 using send_message function to channel 3 on device 1
#schedule.every(2).days.at("10:00").do(lambda: send_message("bbslink MeshBot looking for peers", 3, 0, 1))
logger.debug("System: Starting the broadcast scheduler")
await BroadcastScheduler()
+1 -1
View File
@@ -167,7 +167,7 @@ def bbs_sync_posts(input, peerNode, RxNode):
messageID = 0
# check if the bbs link is enabled
if bbs_link_whitelist is not None:
if bbs_link_whitelist != ['']:
if str(peerNode) not in bbs_link_whitelist:
logger.warning(f"System: BBS Link is disabled for node {peerNode}.")
return "System: BBS Link is disabled for your node."