Fix for per chat color selection
This commit is contained in:
parent
56f0e1ba46
commit
c055240dc5
1 changed files with 7 additions and 4 deletions
|
@ -4878,10 +4878,6 @@ export class ConversationModel extends window.Backbone
|
|||
'defaultConversationColor'
|
||||
);
|
||||
|
||||
if (defaultConversationColor.customColorData) {
|
||||
return 'custom';
|
||||
}
|
||||
|
||||
return this.get('conversationColor') || defaultConversationColor.color;
|
||||
}
|
||||
|
||||
|
@ -4893,6 +4889,13 @@ export class ConversationModel extends window.Backbone
|
|||
'defaultConversationColor'
|
||||
);
|
||||
|
||||
if (this.getConversationColor() !== 'custom') {
|
||||
return {
|
||||
customColor: undefined,
|
||||
customColorId: undefined,
|
||||
};
|
||||
}
|
||||
|
||||
return {
|
||||
customColor:
|
||||
this.get('customColor') ||
|
||||
|
|
Loading…
Reference in a new issue