diff --git a/ChatJs/js/jquery.chatjs.messageboard.ts b/ChatJs/js/jquery.chatjs.messageboard.ts
index a287aab..2e5f2e1 100644
--- a/ChatJs/js/jquery.chatjs.messageboard.ts
+++ b/ChatJs/js/jquery.chatjs.messageboard.ts
@@ -52,14 +52,6 @@ class MessageBoard {
this.$textBox = $("").attr("rows", "1").addClass("chat-window-text-box").appendTo($windowTextBoxWrapper);
- var otherUserId = this.options.otherUserId;
- var serverAdapter = this.options.adapter.server;
-
- // Altera o status das mensagens para lido.
- this.$textBox.focus(function () {
- serverAdapter.mudarStatus(otherUserId, 3);
- })
-
this.$textBox.autosize({
callback: ta => {
var messagesHeight = this.options.height - $(ta).outerHeight();
@@ -338,4 +330,4 @@ $.fn.messageBoard = function(options: MessageBoardOptions) {
});
}
return this;
-};
\ No newline at end of file
+};
diff --git a/ChatJs/js/jquery.chatjs.userlist.ts b/ChatJs/js/jquery.chatjs.userlist.ts
index 9c58210..cc36cd0 100644
--- a/ChatJs/js/jquery.chatjs.userlist.ts
+++ b/ChatJs/js/jquery.chatjs.userlist.ts
@@ -96,15 +96,7 @@ class UserList {
.attr('href', 'javascript:void(0);')
.text('x')
.addClass("profile-close")
- .appendTo($userListItem)
- .on('click', function (e) {
- e.stopPropagation();
- if (confirm("Deseja realmente fechar este atendimento?")) {
- usrList.options.adapter.server.fecharAtendimento(currentUsrList.Id, userList => {
- usrList.populateList(userList);
- });
- }
- });
+ .appendTo($userListItem);
$("")
.addClass("content")
@@ -136,4 +128,4 @@ $.fn.userList = function(options: UserListOptions) {
});
}
return this;
-};
\ No newline at end of file
+};