forked from Qortal/qortal
Added "encoding" parameter to the SEARCH_CHAT_MESSAGES action.
This commit is contained in:
parent
36e944d7e2
commit
95a1c6bf8b
@ -539,6 +539,7 @@ let res = await qortalRequest({
|
|||||||
// reference: "reference", // Optional
|
// reference: "reference", // Optional
|
||||||
// chatReference: "chatreference", // Optional
|
// chatReference: "chatreference", // Optional
|
||||||
// hasChatReference: true, // Optional
|
// hasChatReference: true, // Optional
|
||||||
|
encoding: "BASE64", // Optional (defaults to BASE58 if omitted)
|
||||||
limit: 100,
|
limit: 100,
|
||||||
offset: 0,
|
offset: 0,
|
||||||
reverse: true
|
reverse: true
|
||||||
|
@ -264,6 +264,7 @@ window.addEventListener("message", (event) => {
|
|||||||
if (data.reference != null) url = url.concat("&reference=" + data.reference);
|
if (data.reference != null) url = url.concat("&reference=" + data.reference);
|
||||||
if (data.chatReference != null) url = url.concat("&chatreference=" + data.chatReference);
|
if (data.chatReference != null) url = url.concat("&chatreference=" + data.chatReference);
|
||||||
if (data.hasChatReference != null) url = url.concat("&haschatreference=" + new Boolean(data.hasChatReference).toString());
|
if (data.hasChatReference != null) url = url.concat("&haschatreference=" + new Boolean(data.hasChatReference).toString());
|
||||||
|
if (data.encoding != null) url = url.concat("&encoding=" + data.encoding);
|
||||||
if (data.limit != null) url = url.concat("&limit=" + data.limit);
|
if (data.limit != null) url = url.concat("&limit=" + data.limit);
|
||||||
if (data.offset != null) url = url.concat("&offset=" + data.offset);
|
if (data.offset != null) url = url.concat("&offset=" + data.offset);
|
||||||
if (data.reverse != null) url = url.concat("&reverse=" + new Boolean(data.reverse).toString());
|
if (data.reverse != null) url = url.concat("&reverse=" + new Boolean(data.reverse).toString());
|
||||||
|
Loading…
Reference in New Issue
Block a user