Improve styles for ConversationListItem
- Display last message
- Fix user talking to themself
Change-Id: Ia5bb3f9cd86a389f94bbfb3e279e7a82878f98ed
diff --git a/client/src/models/account.ts b/client/src/models/account.ts
index ae2299e..e616ae1 100644
--- a/client/src/models/account.ts
+++ b/client/src/models/account.ts
@@ -70,10 +70,10 @@
}
getDisplayName() {
- return this.details['Account.displayName'] ?? this.getDisplayUri();
+ return this.details['Account.displayName'] || this.getDisplayUri();
}
getDisplayNameNoFallback() {
- return this.details['Account.displayName'] ?? this.getRegisteredName();
+ return this.details['Account.displayName'] || this.getRegisteredName();
}
}