Merge branch '1.11.x' of github.com:chamilo/chamilo-lms into 1.11.x

pull/3312/head
Julio Montoya 5 years ago
commit 092ccdd7a4
  1. 4
      main/template/default/chat/chat.tpl

@ -81,6 +81,7 @@ $(function () {
friend: ChChat.currentFriend
})
.done(function (response) {
try {
if (response.data.history) {
ChChat._historySize = response.data.oldFileSize;
ChChat.setHistory(response.data.history);
@ -90,6 +91,9 @@ $(function () {
ChChat.usersOnline = response.data.usersOnline;
ChChat.setConnectedUsers(response.data.userList);
}
} catch (error) {
console.error(error);
}
});
},
setHistory: function (messageList) {

Loading…
Cancel
Save