From ca640f12d18e43cda4ce05b99f742e4716425fad Mon Sep 17 00:00:00 2001 From: liamcottle Date: Mon, 29 Apr 2024 04:19:31 +1200 Subject: [PATCH] remove commands for now, as the different types won't be implemented --- web.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/web.py b/web.py index 09ac06d..8a1d186 100644 --- a/web.py +++ b/web.py @@ -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",