Don't show ourselves in the contact list.

pull/64/head
Mikunj 6 years ago
parent c32bd3564d
commit cc0b74fe4a

@ -93,9 +93,8 @@
return this.collator.compare(title1, title2); return this.collator.compare(title1, title2);
}, },
addActive(model) { addActive(model) {
// We only want models which are not shown in the inbox // We only want models which we are friends with
// And that we are friends with if (model.isFriend() && !model.isMe()) {
if (model.isFriend()) {
this.add(model); this.add(model);
model.updateLastMessage(); model.updateLastMessage();
} else { } else {

Loading…
Cancel
Save