Matrix bridge working and effectively pushing messages
This commit is contained in:
@@ -1,8 +1,15 @@
|
||||
def buildKey(key, outputs, resolved):
|
||||
value = key["keyvalue"]
|
||||
|
||||
if isinstance(value, dict) and "output" in value:
|
||||
value = outputs[value["output"]]
|
||||
if isinstance(value, dict):
|
||||
if "output" in value:
|
||||
value = outputs[value["output"]]
|
||||
|
||||
elif "resolved" in value:
|
||||
value = resolved[value["resolved"]]
|
||||
|
||||
if "prefix" in key["keyvalue"]:
|
||||
value = key["keyvalue"]["prefix"] + str(value)
|
||||
|
||||
return {
|
||||
key["keytitle"]: value,
|
||||
|
||||
Reference in New Issue
Block a user