메시지함 사라지는 버그 수정?

This commit is contained in:
2018-07-11 23:04:38 +09:00
parent bc09287666
commit e8ffa44544
+1 -1
View File
@@ -128,7 +128,7 @@ function redrawMsg(deferred){
var $msgs = msgSource.map(function(msg){
var contactTarget = (msg.src.id != myGeneralID) ? msg.src.id : msg.dest.id;
if(needRefreshLastContact && contactTarget != myGeneralID)
if(needRefreshLastContact && contactTarget != myGeneralID && contactTarget in generalList)
{
needRefreshLastContact = false;
$('#last_contact').val(contactTarget).html(generalList[contactTarget].textName).show();