send_tick: set "first" field (#3271)
According to the docs, the tick event should return: { "first": false, "payload": "arbitrary string" }
This commit is contained in:
committed by
Michael Stapelberg
parent
5813525c62
commit
6f11b6fa4a
@ -1127,6 +1127,9 @@ IPC_HANDLER(send_tick) {
|
|||||||
|
|
||||||
y(map_open);
|
y(map_open);
|
||||||
|
|
||||||
|
ystr("first");
|
||||||
|
y(bool, false);
|
||||||
|
|
||||||
ystr("payload");
|
ystr("payload");
|
||||||
yajl_gen_string(gen, (unsigned char *)message, message_size);
|
yajl_gen_string(gen, (unsigned char *)message, message_size);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user