Add client code for handling submessages.

This commit lays the foundation to handle submessages for
plugin widgets.  Right now it just logs events, but subsequent
commits will add widget functionality.
This commit is contained in:
Steve Howell
2018-02-12 09:12:40 -05:00
committed by Tim Abbott
parent de47eeb6f1
commit a84bd6da57
7 changed files with 150 additions and 0 deletions

View File

@@ -204,6 +204,8 @@ exports.process_from_server = function process_from_server(messages) {
// the backend.
client_message.timestamp = message.timestamp;
client_message.submessages = message.submessages;
msgs_to_rerender.push(client_message);
delete waiting_for_ack[client_message.id];
});