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

Set the message type for status updates

parent 5fcf81d0
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);