Merge pull request #11 from jeremiah-k/main

lower max_bytes in truncate_message
pull/1/head
geoffwhittington 2023-04-24 14:21:36 -04:00 zatwierdzone przez GitHub
commit 953dfa364c
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
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}