remove commands for now, as the different types won't be implemented

This commit is contained in:
liamcottle
2024-04-29 04:19:31 +12:00
parent a3cd39dd5c
commit ca640f12d1

14
web.py
View File

@@ -132,20 +132,6 @@ def lxmf_delivery(message):
"image_bytes": image_bytes,
}
# handle commands field
if field_type == LXMF.FIELD_COMMANDS:
# process commands
commands = []
for command in value:
command_string = command[0]
commands.append({
"command_string": command_string,
})
# add to fields
fields["commands"] = commands
# send received lxmf message data to all websocket clients
websocket_broadcast(json.dumps({
"type": "lxmf.delivery",