remove commands for now, as the different types won't be implemented
This commit is contained in:
14
web.py
14
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",
|
||||
|
||||
Reference in New Issue
Block a user