do not show friends with conversation.activeAt undeifned

pull/725/head
Audric Ackermann 5 years ago
parent 2765b6c146
commit e4a4a333ba

@ -70,7 +70,6 @@ export class DevicePairingDialog extends React.Component<Props, State> {
); );
} }
public renderFilterRequestsView() { public renderFilterRequestsView() {
const { currentPubKey, accepted, deviceAlias } = this.state; const { currentPubKey, accepted, deviceAlias } = this.state;
let secretWords: undefined; let secretWords: undefined;
@ -300,13 +299,9 @@ export class DevicePairingDialog extends React.Component<Props, State> {
if (conv) { if (conv) {
conv.setNickname(this.state.deviceAlias); conv.setNickname(this.state.deviceAlias);
} }
// FIXME do not show linked device in list of contacts
console.log('FIXME');
return; return;
} }
/* this.$('.transmissionStatus').text(errors);
this.$('.requestAcceptedView .ok').show();*/
this.setState({ this.setState({
errors: errors, errors: errors,

@ -456,4 +456,3 @@ export class SettingsView extends React.Component<SettingsViewProps, State> {
}); });
} }
} }
// //this.$('#startPairing').removeAttr('disabled');

@ -124,7 +124,7 @@ export const _getLeftPaneLists = (
}; };
} }
if (conversation.isFriend) { if (conversation.isFriend && conversation.activeAt !== undefined) {
friends.push(conversation); friends.push(conversation);
} }

Loading…
Cancel
Save