Fix colour of avatar and colour matching with username (#11470)
* Use consistent colouring of username with avatar * Upgrade Compound to fix Firefox issue * Use the approapriate color shade for usernames * Use the approapriate color shade for usernames * Upgrade Compound * Fix tests
This commit is contained in:
parent
195dc4716b
commit
23897dff4f
31 changed files with 269 additions and 125 deletions
|
@ -40,7 +40,7 @@ export default class DisambiguatedProfile extends React.Component<IProps> {
|
|||
|
||||
let colorClass: string | undefined;
|
||||
if (colored) {
|
||||
colorClass = getUserNameColorClass(fallbackName);
|
||||
colorClass = getUserNameColorClass(mxid ?? "");
|
||||
}
|
||||
|
||||
let mxidElement;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue