Commit 17fda856 authored by Andrew Price's avatar Andrew Price

Set the message type for status updates

parent 5fcf81d0
Pipeline #561 passed with stage
in 8 minutes
......@@ -93,6 +93,7 @@ void broadcast(int state, const char *fmt, ...)
ipcmsg_destination(msg, user->record.room);
json_t * j = json_init(NULL);
json_addstring(j, "text", buff);
json_addstring(j, "type", "status");
ipcmsg_json_encode(msg, j);
json_decref(j);
ipcmsg_transmit(msg);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment