Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Status indicator on chat window not syncing with friendlist #185

Open
keithlim opened this issue Feb 16, 2021 · 1 comment
Open

Status indicator on chat window not syncing with friendlist #185

keithlim opened this issue Feb 16, 2021 · 1 comment
Labels

Comments

@keithlim
Copy link

Hi there Rafael,
Hats off to you for creating this awesome component, helping me immensely with my internship. I'd like to check on a possible bug, where as mentioned in the title, there seems to be an issue with the updating of the status color. I've seen #140, and am positive my friendlist is fetching data via polling, such that the friendlist status indicators change color successfully. But the chat window one doesn't. Could you please advise?

<ng-chat *ngIf="userId" [adapter]="adapter" [userId]="userId" [title]="title" [theme]="theme" (onMessagesSeen)="markMessagesSeen($event)" [pollFriendsList]="true" [historyEnabled]="true"> </ng-chat>

image

@rpaschoal
Copy link
Owner

Hi @keithlim ,

No worries, sorry about the delay in replying. I haven't been actively looking or contributing to this repository these days.

If you have pollFriendsList enabled, the friends list should be querying your selected Friends endpoint on a cycle basis. I would check there to see if the endpoint results are reflecting the correct status.

Hope this helps. Cheers!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants