[mw-devel] [Git][milliways/mw][master] Set the message type for status updates

Andrew Price welshbyte at sucs.org
Mon Apr 8 20:59:15 BST 2019


Andrew Price pushed to branch master at milliways / mw


Commits:
17fda856 by Andrew Price at 2019-04-08T19:58:29Z
Set the message type for status updates

- - - - -


1 changed file:

- src/client/mesg.c


Changes:

=====================================
src/client/mesg.c
=====================================
@@ -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);



View it on GitLab: https://projects.sucs.org/milliways/mw/commit/17fda856ebb551afe5e3c793a238d2b2e57633eb

-- 
View it on GitLab: https://projects.sucs.org/milliways/mw/commit/17fda856ebb551afe5e3c793a238d2b2e57633eb
You're receiving this email because of your account on projects.sucs.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/mw-devel/attachments/20190408/0a39553f/attachment.html>


More information about the mw-devel mailing list