diff --git a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/main-contents/messages.component.ts b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/main-contents/messages.component.ts index de53dc59..85de7afe 100644 --- a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/main-contents/messages.component.ts +++ b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/main-contents/messages.component.ts @@ -413,7 +413,8 @@ export class MessagesComponent implements OnInit, OnDestroy, AfterViewInit { if ( !!presence && - presence.pcStatus === PresenceStatusCode.OnLine + (presence.pcStatus === PresenceStatusCode.OnLine || + presence.mobileStatus === PresenceStatusCode.OnLine) ) { if (existIndex > -1) { this.offLineUsers.splice(existIndex, 1);