대화방 > 오프라인 문구 체크시 PC, Mobile 둘중 하나라도 온라인일경우는 온라인으로 간주하도록 수정.

This commit is contained in:
leejinho 2020-03-31 17:27:43 +09:00
parent eec051a229
commit 6c22e4f3b7

View File

@ -413,7 +413,8 @@ export class MessagesComponent implements OnInit, OnDestroy, AfterViewInit {
if ( if (
!!presence && !!presence &&
presence.pcStatus === PresenceStatusCode.OnLine (presence.pcStatus === PresenceStatusCode.OnLine ||
presence.mobileStatus === PresenceStatusCode.OnLine)
) { ) {
if (existIndex > -1) { if (existIndex > -1) {
this.offLineUsers.splice(existIndex, 1); this.offLineUsers.splice(existIndex, 1);