Added GET_QDN_RESOURCE_PROPERTIES Q-App action.

This commit is contained in:
CalDescent
2023-03-19 08:56:06 +00:00
parent 519bb10c60
commit 713fd4f0c6
2 changed files with 18 additions and 0 deletions

View File

@@ -208,6 +208,12 @@ window.addEventListener("message", (event) => {
response = httpGet(url);
break;
case "GET_QDN_RESOURCE_PROPERTIES":
let identifier = (data.identifier != null) ? data.identifier : "default";
url = "/arbitrary/resource/properties/" + data.service + "/" + data.name + "/" + identifier;
response = httpGet(url);
break;
case "SEARCH_CHAT_MESSAGES":
url = "/chat/messages?";
if (data.before != null) url = url.concat("&before=" + data.before);