Update mesh_bot.py

ack
This commit is contained in:
SpudGunMan
2025-10-07 13:54:32 -07:00
parent b8e9adb223
commit 6abe73c1bc
+2 -2
View File
@@ -962,8 +962,8 @@ def handle_messages(message, deviceID, channel_number, msg_history, publicChanne
else:
response = ""
for msgH in msg_history:
# number of messages to return
if len(response.split("\n"))/2 >= storeFlimit:
# number of messages to return +1 for the header line
if len(response.split("\n")) >= storeFlimit + 1:
break
# if the message is for this deviceID and channel or publicChannel
if msgH[4] == deviceID: