Added "messageType" field to header that is constructed in SEND_CLIENTS for sending to clients.

This commit is contained in:
Tristan B. Kildaire 2020-05-15 12:50:50 +02:00
parent a22b65f7c4
commit 32d35cec71
1 changed files with 1 additions and 0 deletions

View File

@ -181,6 +181,7 @@ public final class HandlerResponse
/* Set the header of the response */
JSONValue headerBlock; /* TODO: Do something with this */
headerBlock["messageType"] = "receivedMessage";
clientPayload["header"] = headerBlock;
/* Set the payload of the response */