|
|
@ -31,7 +31,9 @@ export class InviteContactsDialog extends React.Component<Props, State> {
|
|
|
|
|
|
|
|
|
|
|
|
contacts = contacts.map(d => {
|
|
|
|
contacts = contacts.map(d => {
|
|
|
|
const lokiProfile = d.getLokiProfile();
|
|
|
|
const lokiProfile = d.getLokiProfile();
|
|
|
|
const name = lokiProfile ? lokiProfile.displayName : 'Anonymous';
|
|
|
|
const name = lokiProfile
|
|
|
|
|
|
|
|
? lokiProfile.displayName
|
|
|
|
|
|
|
|
: window.i18n('anonymous');
|
|
|
|
|
|
|
|
|
|
|
|
// TODO: should take existing members into account
|
|
|
|
// TODO: should take existing members into account
|
|
|
|
const existingMember = false;
|
|
|
|
const existingMember = false;
|
|
|
|