kopia lustrzana https://github.com/mate-dev/meshtastic-matrix-relay
lower max_bytes in truncate_message
rodzic
fe9b1413e6
commit
2a07da47f6
2
main.py
2
main.py
|
@ -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.
|
||||
|
|
|
@ -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}
|
||||
|
|
Ładowanie…
Reference in New Issue