[Chat] Bug - When unlock Contact, don't refresh contact list

[Chat] Bug - When unlock Contact, don't refresh contact list

  
Forge Component
(28)
Published on 2015-11-24 by Hélio Dolores
28 votes
Published on 2015-11-24 by Hélio Dolores
Hello,

There is a bug on chat, when you click "Unlock User", the application unlocks the user but don't refresh the contact list, the user remains with "Blocked" signal. Can someone help?

Thanks
Hi Luis,

Thank you for your feedback.

There's a bug in the client.js script:

$('#' + userid).removeClass("Blocked"); 

should be changed to 
$('#' + userid).removeClass("HDCHAT_Blocked");

If you change this line in the chat.oml javascript it will be solved :)

Hélio
It works, thanks!

I also find another bug in that script:

When you have that:
            if (isGroupChat) {
                w.setTooltip(name);

I think should be:
            if (isGroupChat) {
                w.setTooltip(chatTitle);

Can you look at this also?
 

Thanks Luis, I'll add these fixes to my backlog.

I'll try to find some time to release a new version.

best regards,
H