Skip to content

Commit 32d35ce

Browse files
author
Tristan B. Kildaire
committed
Added "messageType" field to header that is constructed in SEND_CLIENTS for sending to clients.
1 parent a22b65f commit 32d35ce

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

source/handlers/response.d

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ public final class HandlerResponse
181181

182182
/* Set the header of the response */
183183
JSONValue headerBlock; /* TODO: Do something with this */
184+
headerBlock["messageType"] = "receivedMessage";
184185
clientPayload["header"] = headerBlock;
185186

186187
/* Set the payload of the response */

0 commit comments

Comments
 (0)