miroslavpejic85 / mirotalksfu

🏆 WebRTC - SFU - Simple, Secure, Scalable Real-Time Video Conferences Up to 8k, compatible with all browsers and platforms.
https://sfu.mirotalk.com
GNU Affero General Public License v3.0
2.15k stars 340 forks source link

If chatGPT is disabled, it shouldn't appear on the chat list #148

Closed TehPeGaSuS closed 8 months ago

TehPeGaSuS commented 8 months ago

Feature request

When this is set to false, then ChatGPT shouldn't appear on the chat list, since it's rather confusing to most of the users.

Pros

N/A

Additional context

N/A

miroslavpejic85 commented 8 months ago

Hello @TehPeGaSuS,

While it's simple to implement, choosing not to display the ChatGPT feature when it's disabled might lead users to believe that the feature doesn't exist at all. Therefore, we already include a message notification in the interface indicating that the feature is disabled. This ensures that users understand why the feature isn't available and helps maintain transparency in the user experience.

We can continue our discussion about channel suggestions in our community forum. Click here to join.

Please interact with others in the forum before opening an issue here.

Thank you!

miroslavpejic85 commented 8 months ago

Hello @TehPeGaSuS,

To accommodate your request, please update the config.js file under the ui section to include the new parameter:

ui: {
    /*
        Toggle the visibility of specific HTML elements within the room
    */
    buttons: {
        // Other settings...
        chat: {
            // Other chat settings...
            chatGPT: true, // Set to false to hide the chatGPT section in the chat
        },
        // Other settings...
    },
},
TehPeGaSuS commented 8 months ago

I really appreciate it 😀