Hi, I'm trying the 7.x-1.0-beta15 e 7.x-1.x-dev chat version but when I set the "invisible status" I still see the user in the chat list and I was wondering if it is a bug. Thanks

Comments

SmeetersClub’s picture

Assigned: SmeetersClub » Unassigned
Issue summary: View changes
ankitchauhan’s picture

Status: Active » Closed (works as designed)

Hi, This isn't a bug. Depends on you chat setting, you have a list of buddies in your buddy list. Invisible means user isn't logged into the system yet. It's just the status.

jayelless’s picture

Status: Closed (works as designed) » Needs review
StatusFileSize
new1.71 KB

I have to disagree with the assessment that the code is working as designed.

If a user sets their status to "invisible", then it should mean that they don't want to be seen in the buddy lists of other users (ie a "do not disturb" condition). Currently they remain visible to other users.

The attached patch provides a fix for this, so that when a user sets themselves "invisible", then they no longer show up in the buddy lists of other users.

If another user has an existing chat session open with the user who has become invisible, then that user can continue to send messages to the "invisible" user. Ideally, these should be held until the user changes their status back to visible ("available" or "busy"), but I haven't found an effective method of achieving that yet.

ankitchauhan’s picture

I've installed your patch. It works good.

Now I'm looking for the solutions which you have pointed out in last paragraph.

regards
Ankit

ankitchauhan’s picture

Version: 7.x-1.0-beta15 » 7.x-1.x-dev
Status: Needs review » Needs work

ankitchauhan’s picture

Status: Needs work » Fixed
StatusFileSize
new11.05 KB

we're already displaying message for that and it's good way to prompt the user about chat status.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.