fluent-pad/scripts/add_message.air
2021-02-24 22:41:08 +03:00

14 lines
421 B
Plaintext

(xor
(seq
(call relay ("op" "identity") [])
(seq
(call relay (userlist "is_authenticated") [] status)
(seq
(call relay (history "add") [msg status.$.["is_authenticated"]!] auth_result)
(call %init_peer_id% (returnService "run") [auth_result])
)
)
)
(call %init_peer_id% (returnService "run") [%last_error% status])
)