librelist archives

« back to archive

Need to hide contacts from the chat box.

Need to hide contacts from the chat box.

From:
Mohit Jain
Date:
2014-05-26 @ 12:05
Hi,
 
As per our project requirement, we need to hide contacts
tab from the chat box.  I have seen below variables 
allow_contact_requests = FALSE 
If we do that
then functionality is not working but contacts tab still displaying in chat box.
Could any other variable we need to set or removed
code manually from the converse.js
 
Thanks,
Mohit   

Re: [conversejs] Need to hide contacts from the chat box.

From:
Jc Brand
Date:
2014-05-26 @ 16:22
On Mon, May 26, 2014 at 08:05:12PM +0800, Mohit Jain wrote:
>    As per our project requirement, we need to hide contacts tab from the chat
>    box.  I have seen below variables
>    [1]allow_contact_requests = FALSE
>    If we do that then functionality is not working but contacts tab still
>    displaying in chat box.
>    Could any other variable we need to set or removed code manually from the
>    converse.js

There is no configuration variable that allows the "Contacts" tab to be
removed.

You'll have to customize/modify converse.js for this purpose.