Added recursive action behavior to recursively go over selected messages
This commit is contained in:
@@ -10,15 +10,9 @@ astoken = os.environ["AS_TOKEN"]
|
||||
|
||||
resolve = {
|
||||
"sender": ["messages", 0, "senderId"],
|
||||
#"messageid": ["message", "id"],
|
||||
"username": ["profile", "username"],
|
||||
#"location": ["profile", "location"],
|
||||
}
|
||||
keys = [
|
||||
#{
|
||||
# "keytitle": "type",
|
||||
# "keyvalue": "m.login.application_service",
|
||||
#},
|
||||
{
|
||||
"keytitle": "displayname",
|
||||
"keyvalue": {
|
||||
@@ -29,11 +23,6 @@ keys = [
|
||||
|
||||
method = "PUT"
|
||||
|
||||
#path = [
|
||||
# "https://loxthelion.com/_matrix/client/v3/profile/rmass_",
|
||||
# {"resolved": "sender"},
|
||||
# {"suffix": "/displayname"},
|
||||
#]
|
||||
path = [
|
||||
"https://loxthelion.com/_matrix/client/v3/profile/@rmass_",
|
||||
{"resolved": "sender"},
|
||||
@@ -50,6 +39,3 @@ headers = {
|
||||
"Content-Type": "application/json",
|
||||
}
|
||||
|
||||
#outputs = {
|
||||
# "user_id": "user_id",
|
||||
#}
|
||||
|
||||
Reference in New Issue
Block a user