|
|
@ -83,13 +83,13 @@ export class ChatView implements Observer<ChatMessageViewModel> { |
|
|
|
// this._userModel.notify();
|
|
|
|
// }
|
|
|
|
$(this._messageContainer) |
|
|
|
.stop() |
|
|
|
.animate( |
|
|
|
{ |
|
|
|
scrollTop: $(this._messageContainer)[0].scrollHeight, |
|
|
|
}, |
|
|
|
1500 |
|
|
|
); |
|
|
|
.stop() |
|
|
|
.animate( |
|
|
|
{ |
|
|
|
scrollTop: $(this._messageContainer)[0].scrollHeight, |
|
|
|
}, |
|
|
|
1500 |
|
|
|
); |
|
|
|
} |
|
|
|
break; |
|
|
|
case "page": |
|
|
@ -181,6 +181,7 @@ export class ChatView implements Observer<ChatMessageViewModel> { |
|
|
|
}; |
|
|
|
|
|
|
|
this.update({ data: new Array(context), op: "new" }); |
|
|
|
this._userModel.updateLastActive(contactName, msgTime) |
|
|
|
this._userModel.notify(); |
|
|
|
|
|
|
|
let messageCipher: MessageCipherDTO = this._encryptionService.encrypt( |
|
|
|