Kelly
2025-10-14 22:21:21 -07:00
committed by GitHub
parent a8e4f653ed
commit 075a23bd2b

View File

@@ -1097,7 +1097,7 @@ def handle_messages(message, deviceID, channel_number, msg_history, publicChanne
return message.split("?")[0].title() + " command returns the last " + str(storeFlimit) + " messages sent on a channel."
else:
response = ""
header = f"📨Messages:\n"
header = f"📨Msgs:\n"
# Calculate safe byte limit (account for header and some overhead)
header_bytes = len(header.encode('utf-8'))
available_bytes = max_bytes - header_bytes