lower max_bytes in truncate_message

feature/plugins-parameters
Jeremiah K 2023-04-24 13:17:41 -05:00
rodzic fe9b1413e6
commit 2a07da47f6
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -249,7 +249,7 @@ def on_meshtastic_message(packet, loop=None):
def truncate_message(
text, max_bytes=234
text, max_bytes=230
): # 234 is the maximum that we can run without an error. Trying it for awhile, otherwise lower this to 230 or less.
"""
Truncate the given text to fit within the specified byte size.

Wyświetl plik

@ -4,7 +4,7 @@
//WizardSmallImageFile=smallwiz.bmp
AppName=Matrix <> Meshtastic Relay
AppVersion=0.3.4
AppVersion=0.3.5
DefaultDirName={userpf}\MM Relay
DefaultGroupName=MM Relay
UninstallFilesDir={app}