|
@@ -307,8 +307,8 @@ function initConference(localTracks, connection) {
|
307
|
307
|
APP.UI.addListener(UIEvents.MESSAGE_CREATED, function (message) {
|
308
|
308
|
room.sendTextMessage(message);
|
309
|
309
|
});
|
310
|
|
- room.on(ConferenceEvents.MESSAGE_RECEIVED, function (userId, text) {
|
311
|
|
- APP.UI.addMessage(userId, getDisplayName(userId), text, Date.now());
|
|
310
|
+ room.on(ConferenceEvents.MESSAGE_RECEIVED, function (id, text, ts) {
|
|
311
|
+ APP.UI.addMessage(id, getDisplayName(id), text, ts);
|
312
|
312
|
});
|
313
|
313
|
}
|
314
|
314
|
|