mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-06-19 12:25:16 +00:00
Apply conversations color
This commit is contained in:
@ -302,6 +302,10 @@ const ConvChatWindow = {
|
||||
//Change the name of the conversation
|
||||
this.changeName(await getConvName(conv), conversationWindow);
|
||||
|
||||
// Apply the color of the conversation (if any)
|
||||
if (conv.color)
|
||||
conversationWindow.rootElem.setAttribute("style", "--primary-blue: #" +conv.color)
|
||||
|
||||
// Update conversation members informations
|
||||
this.updateMembersList(conversationInfos);
|
||||
|
||||
|
Reference in New Issue
Block a user