From 76933e51aa1ce785cd41661e9fbfc9b4ff5e44e1 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 21 Apr 2021 17:48:40 +0200 Subject: [PATCH] fix default avatar color being broken in room list --- src/domain/session/leftpanel/BaseTileViewModel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/domain/session/leftpanel/BaseTileViewModel.js b/src/domain/session/leftpanel/BaseTileViewModel.js index 7b2a3258..ac9ea3f9 100644 --- a/src/domain/session/leftpanel/BaseTileViewModel.js +++ b/src/domain/session/leftpanel/BaseTileViewModel.js @@ -72,7 +72,7 @@ export class BaseTileViewModel extends ViewModel { } get avatarColorNumber() { - return getIdentifierColorNumber(this._avatarSource) + return getIdentifierColorNumber(this._avatarSource.id) } get avatarUrl() {