mirror of
https://github.com/irislib/iris-messenger.git
synced 2024-10-18 14:13:21 +00:00
followed contacts fix
This commit is contained in:
parent
300f3b7939
commit
900a8b11a5
@ -59,6 +59,11 @@ class Contacts extends View {
|
||||
this.contactsSub && this.contactsSub.off();
|
||||
this.contactsSub = e;
|
||||
this.shownContacts = contacts;
|
||||
for (let k in this.shownContacts) { // remove some invalid keys. TODO: why are they there?
|
||||
if ((k.indexOf('~') === 0) || (k.length < 40)) {
|
||||
delete this.shownContacts[k];
|
||||
}
|
||||
}
|
||||
this.updateSortedKeys();
|
||||
}));
|
||||
}));
|
||||
|
Loading…
Reference in New Issue
Block a user